Skip to content

Unexpected token in JSON (oauth_callback_handler_error) #1186

Answered by aivar
gfungx asked this question in Help
Discussion options

You must be logged in to vote

This suggests that jwt token generation fails in the Vercel environment and the error (token k and whatnot) further points to JWT_*_KEY env variables not correctly set up in the Vercel project. Not using Vercel myself for hosting, so cannot say where to go and look exactly, but it looks like your key json is in wrong format or escaped differently or something in there.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@gfungx
Comment options

Answer selected by gfungx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants