-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support Google login_hint for auth [react] #8951
Comments
Is there any action to include this feature? |
Hello @revmischa and thanks for submitting this feature request. Hoping to get some clarity on what the core functionality should be after looking into the OAuth doc provided above. Is the intent to pass in something like "login_hint" as an optional parameter to then enable additional functionality/auth flow on the social IDP side (i.e. Google Authentication)? |
@debersonpaula, maybe you can help add some clarity about what's intended for this feature request. Could you please take a look at the above comment/question? Thanks! |
I’m also interested in this. I came across this tweet that I think explains the issue and solution pretty good: @cwomack Basically, the idea is to propose to the user which login provider and user they used last time. Apparently, it's also supported by the OAuth2 protocol. More info in the Google docs. |
@pjanaya, appreciate the follow up and additional context! We've added this to our list of feature requests to be considered for Auth and will update this issue with any progress. |
How is this feature going? Is this only going to support google? How about other auth providers? |
@szliuxf, we don't have any updates at this time regarding this feature request. I can updates the notes on our side to consider support for other auth providers as well. Are there any in particular you're looking for? |
@cwomack Any update on this one? I'm looking to do this for auth0 as well. |
Anything update news ? @cwomack |
Any update on the subject? |
This isn't google specific though. Most providers do support to pass in the user as For some reason, this isn't supported by Amazon and it's not implemented in amplify... At least now it seems like cognito supports it (this wasn't the case some years ago) Could we get an update on this? |
Hi @Alevale This |
@natuan62 As far as I see in the implementation I don't find any particular difference when it comes to Google or other providers, and since it's not implemented in the amplify library for any provider I would assume it's also not for google |
Is this related to a new or existing framework?
React
Is this related to a new or existing API?
Authentication
Is this related to another service?
No response
Describe the feature you'd like to request
When calling
Auth.federatedSignIn({ provider: CognitoHostedUIIdentityProvider.Google })}
I'd like to be able to provide thelogin_hint
parameter to Google since I know what email they should use when they accept an invite from another user.Describe the solution you'd like
Perhaps something like upstream params that Auth0 provides https://auth0.com/docs/connections/pass-parameters-to-idps#dynamic-parameters
Describe alternatives you've considered
Auth0 https://auth0.com/docs/connections/pass-parameters-to-idps#dynamic-parameters
Additional context
No response
Is this something that you'd be interested in working on?
The text was updated successfully, but these errors were encountered: