Skip to content

Why does JWT middleware throw "Error: invalid credentials structure" #2978

Answered by NicoPlyley
Swarz asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @Swarz

This error is likely because you are sending the token without prepending the type of token. Generally bearer is used, so you would set your authorization to Bearer my_jwt_token

Replies: 1 comment 1 reply

Comment options

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

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