ueberauth / ueberauth_google

Google OAuth2 Strategy for Überauth.
MIT License
166 stars 85 forks source link

Add support for optional login_hint param #61

Closed andykent closed 5 years ago

andykent commented 5 years ago

Adds support for the optional login_hint param as documented...

https://developers.google.com/identity/protocols/OAuth2WebServer

By setting this param you can avoid the user having to pick from a list of multiple accounts and pre-fill the email with a known value.

doomspork commented 5 years ago

Hey @andykent! Sorry for missing this. Could you release the conflict so we can merge? Everything else looks good

andykent commented 5 years ago

Sorry for the delay, busy week. But thanks for accepting the PR.

I force pushed over the previous changes as I realised I had formatting turned on in my editor which had added a bunch of noise to the diff.

I just tested it out locally and all seems good.