Why does JWT middleware throw "Error: invalid credentials structure" #2978
-
Simulated jwt and specified the Authorization header value, but it did not pass the verification. how to verify through JWT middleware ? |
Beta Was this translation helpful? Give feedback.
Answered by
NicoPlyley
Jun 17, 2024
Replies: 1 comment 1 reply
-
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 |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
Swarz
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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