You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In Next.js, when using the fetchAuthSession method from the aws-amplify library, the token information obtained is decoded by default. However, you wish to obtain the undecoded JSON web token (JWT), specifically to access the raw JWT returned by the OAuth 2.0 token endpoint at /oauth2/token.
#3852
Closed
4 tasks done
dtcpay-jack opened this issue
Dec 13, 2023
· 4 comments
I have removed any sensitive information from my code snippets and submission.
App Id
NEW_APP
AWS Region
eu-west-3
Amplify Hosting feature
Public APIs
Question
To use the fetchAuthSession method in a Next.js project with AWS Amplify and obtain the accessToken without JWT decoding, I want to receive the raw JWT returned by the OAuth 2.0 token endpoint without any transformation or decoding.
The text was updated successfully, but these errors were encountered:
This issue is now closed. Comments on closed issues are hard for our team to see.
If you need more assistance, please open a new issue that references this one.
Before opening, please confirm:
App Id
NEW_APP
AWS Region
eu-west-3
Amplify Hosting feature
Public APIs
Question
To use the fetchAuthSession method in a Next.js project with AWS Amplify and obtain the accessToken without JWT decoding, I want to receive the raw JWT returned by the OAuth 2.0 token endpoint without any transformation or decoding.
The text was updated successfully, but these errors were encountered: