1개 답변
- 최신
- 최다 투표
- 가장 많은 댓글
0
Hello, thank you for your question. As I understand, you wish to retrieve access tokens from Cognito without needing to continuously call Auth.currentSession(). After the initial Auth.currentSession() call, JWT tokens can be retrieved from your local cache by utilizing the Cache module. Please refer to the link below for examples and additional information.
https://docs.amplify.aws/lib/auth/advanced/q/platform/js/#retrieve-jwt-tokens
답변함 2년 전
관련 콘텐츠
- AWS 공식업데이트됨 9달 전
- AWS 공식업데이트됨 2년 전