- Allow empty params
- Refactored to allow client-side flow.
- Divided
GoogleLogin.login
intoGoogleLogin.exchange_code
andGoogleLogin.get_userinfo
. - Redirect URI no longer passed through
state
. It's now being formed usingurl_for
along with the additional configGOOGLE_LOGIN_REDIRECT_SCHEME
. The additional config is required becauserequest.base_url
always useshttp
as scheme.
- Allow setting of
response_type
when generating login url