Skip to content

How do I refresh a Cognito token after the accessToken has expired #221

Discussion options

You must be logged in to vote

Hi @IgorPietraszko,

Good morning.

Could you please confirm the version of Amazon.AspNetCore.Identity.Cognito package being used? Also, you may follow the sample at https://github.com/aws/aws-aspnet-cognito-identity-provider/tree/master/samples, refresh token should be present in user claims and you should be able to use refresh token auth flow. Also refer #122 (comment) which explains how the session cookie expiration time is set.

Thanks,
Ashish

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
4 replies
@IgorPietraszko
Comment options

@IgorPietraszko
Comment options

@IgorPietraszko
Comment options

@ashishdhingra
Comment options

Answer selected by ashishdhingra
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
response-requested Waiting on additional info and feedback. Will move to "closing-soon" in 7 days. guidance Question that needs advice or information.
2 participants