-
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
How to use enable Google One-Tap Sign In #8184
Comments
Hi @Jun711
Can you elaborate a little on this? what feature that you are looking for is not currently supported? Also, take a look at the example showing Identity Pool Federation with google, it might help |
@manueliglesias maybe the document you shared may work. I will give it a try.
|
Update:
2 I tried the above code from the document you shared. Right after calling federatedSignIn with google id token, I called I would like to use the JwtToken to call an API authorized using Cognito. How do I achieve this?
FederatedSignIn + UserSession code (Amplify part is similar but Google API part is different
Log of calling currentSession right after federatedSignIn Log of calling currentSession after refreshing the page (previously federatedSignIn but didn't signOut) |
Hi @Jun711
Yes, you can use federation as shown in https://docs.amplify.aws/lib/auth/social/q/platform/js That will use a cognito user pool instead of just identity pools |
@manueliglesias However, the newer feature: Google one tap sign in doesn't have the same configuration as the traditional Google sign in since there is no redirection. In other words, it doesn't redirect to Google Sign In page and redirects to my App UI. Could you please look into it further? And
|
@Jun711 did you manage to figure out one tap sign in? |
We also need to support Google One Tap with Cognito. Any solutions anyone? Thanks |
Any update on this? |
No news that I'm aware of. Planning to move away from Cognito as the support is so poor |
@tannerabread Any chance you can prioritize this? |
@m98 You are correct and this is a limitation with Cognito itself. We have communicated the requirement for our service to their team, once it is available from Cognito we can implement in Amplify. I do not currently have a timeline for when the fix will come from their end. |
Will there be a way to use Google One Tap and Cognito without adding a large library like Amplify to my project? |
For those planning to migrate away from Cognito we found this blog post outlining the steps to be very helpful: https://fusionauth.io/blog/2022/02/07/how-to-migrate-from-cognito We hope it will be useful to anyone else similarly struggling with Cognito's limitations. |
Hi @tannerabread, I hope you're doing well. I was wondering if you had any updates on the progress of the work being done by the Cognito team on this issue. Our team is eagerly waiting for this feature, and having an estimate of when it might be available would be really helpful. Thank you in advance for any information you might be able to provide. |
same problem, our team needs this feature as well |
Hi @tannerabread, do you have any updates from Cognito team? |
2 similar comments
Hi @tannerabread, do you have any updates from Cognito team? |
Hi @tannerabread, do you have any updates from Cognito team? |
Any updates on this? |
Hi @tannerabread, do you have any updates from Cognito team? |
It would be great to have an update on this, even if it is a "won't fix". |
Hi, any update? |
This is crucial, given that almost all authentication providers have it. Any update would be appreciated. |
Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
I am aware of federated sign in.
However, I would like to enable Google sign-in new feature that is not supported by federatedSignIn call, this document suggests to use the following code.
Since I am already using Amplify for authentication, I would like to continue using it.
However the following code would not work with [email protected]. How should I proceed?
Describe the solution you'd like
Enable using and setting our own credentials.
The text was updated successfully, but these errors were encountered: