Next auth help
Unanswered
American Chinchilla posted this in #help-forum

American ChinchillaOP
Hi, could someone explaiin how can I send an acccess token from GitHub to my backend express and decode it there?
Ive followed the docs and suggestions but nothing is working.
I defined the jwt and session callback already, and I do see the token but its not in a JWT format, its encrypted like "asdsdsd343sjhjusdfd_" a really short string compared to normal JWT.
Im not sure how I can trasnform this to get the original access token as I need to send the access token from GitHub Ouath to my backend so it can decode it and get the user info?
Ive followed the docs and suggestions but nothing is working.
I defined the jwt and session callback already, and I do see the token but its not in a JWT format, its encrypted like "asdsdsd343sjhjusdfd_" a really short string compared to normal JWT.
Im not sure how I can trasnform this to get the original access token as I need to send the access token from GitHub Ouath to my backend so it can decode it and get the user info?