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
I get another error message telling me that the user does not have an active session.
{
error: {
message: 'The user does not have an active session.',
code: 'missing_session'
}
}
Reproduction
As seen above
Additional context
I can get the session with await auth0.getSession() but when I try to access the token, I get a JWE instead of a JWT. The AUTH0_AUDIENCE is set in my .env.local file.
nextjs-auth0 version
^4.0.3
Next.js version
15.2.1
Node.js version
23.6.0
The text was updated successfully, but these errors were encountered:
Checklist
Description
I am currently trying to get the JWT for a user to later use against a Java Spring backend but unfortunately, nothing has worked so far.
This always causes the following error:
When I tried manually getting the token via fetch like so
I get another error message telling me that the user does not have an active session.
Reproduction
As seen above
Additional context
I can get the session with
await auth0.getSession()
but when I try to access the token, I get a JWE instead of a JWT. TheAUTH0_AUDIENCE
is set in my.env.local
file.nextjs-auth0 version
^4.0.3
Next.js version
15.2.1
Node.js version
23.6.0
The text was updated successfully, but these errors were encountered: