Skip to content

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. #872

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.

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. #872