Skip to content
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 refresh access and identity tokens with implicit grant type #3774

Closed
colehendo opened this issue Jul 31, 2019 · 5 comments
Closed

How to refresh access and identity tokens with implicit grant type #3774

colehendo opened this issue Jul 31, 2019 · 5 comments
Assignees
Labels
Auth Related to Auth components/category Cognito Related to cognito issues feature-request Request a new feature Service Team Issues asked to the Service Team

Comments

@colehendo
Copy link

** Which Category is your question related to? **

Refreshing access and identity tokens after authenticating through Cognito with Implicit Grant type using Google

** What AWS Services are you utilizing? **

Cognito with Implicit Grant type

** Provide additional details e.g. code snippets **

I have found no way to refresh the access and identity tokens provided by authenticating using Cognito with an Implicit Grant type while using a Google. I know the Authorization Code Grant type returns a refresh token, but that is not an option for me as I am building an SPA. I was hoping either there was a way to get a refresh token or to do a silent refresh with Implicit Grant type as I have found none yet. Having my users log in every hour is fairly annoying for them.

@sammartinez
Copy link
Contributor

@colehendo Can you share your package.json with us? Just want to see what version of amplify you are using and what framework

@sammartinez sammartinez added Auth Related to Auth components/category pending-close-response-required labels Jul 31, 2019
@colehendo
Copy link
Author

I am only using auth and core. Here are the versions:

"@aws-amplify/auth": "^1.2.28"
"@aws-amplify/core": "^1.0.29"

@manueliglesias manueliglesias added Cognito Related to cognito issues feature-request Request a new feature Service Team Issues asked to the Service Team and removed Auth Related to Auth components/category labels Aug 7, 2019
@manueliglesias
Copy link
Contributor

Hi @colehendo

As of today, Cognito doesn't support silent auth. We'll be talking to the Cognito team about this feature request

@niklr
Copy link

niklr commented Jul 9, 2020

Can you provide some sort of timeline when this is gonna happen @manueliglesias ? Thanks!

@abdallahshaban557 abdallahshaban557 added the Auth Related to Auth components/category label Jun 3, 2022
@tannerabread
Copy link
Contributor

Closing this in favor of the duplicate #1218 that has a lot more context. If you think this issue was closed in error and was not a duplicate please let me know and we can discuss here.

Thank you!

@tannerabread tannerabread closed this as not planned Won't fix, can't repro, duplicate, stale Feb 14, 2023
@tannerabread tannerabread self-assigned this Feb 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Auth Related to Auth components/category Cognito Related to cognito issues feature-request Request a new feature Service Team Issues asked to the Service Team
Projects
None yet
Development

No branches or pull requests

6 participants