getToken() as Bearer token example #5487
Unanswered
jonnawiberg
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
According to next auth documentation it says https://next-auth.js.org/configuration/options#jwt
Under the getToken helper function
"For convenience, this helper function is also able to read and decode tokens passed from the Authorization: 'Bearer token' HTTP header."
I dont really understand how i should be able to use this with help as an authorization header? Can someone give me a concrete example so that i can understand it better :)
Thank you
Beta Was this translation helpful? Give feedback.
All reactions