AWS Cognito - Invalid Refresh Token

后端 未结 2 2002
清歌不尽
清歌不尽 2021-01-04 03:51

I am using the Amazon Cognito service with the amazon-cognito-identity-js library, and am having an issue refreshing a user\'s tokens, namely the id token.

When tryin

2条回答
  •  被撕碎了的回忆
    2021-01-04 04:19

    Another thing that can cause this error: using different user pool clients for generating the refresh token and trying to use it to generate new access & id tokens. It looks like a given refresh token may only be used by the client that generated it.

提交回复
热议问题