Replies: 1 comment
-
:_: All I had to do was to specify the cut prefix with space. The default isn't bearer, hmm. ex: |
Beta Was this translation helpful? Give feedback.
0 replies
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.
-
I'm using the following middleware function for obtaining user's jwt token via the Authorization header or cookie.
It does seem to work with cookies, example: with following curl request:
but seemingly fails with the following request:
Giving error:
message=invalid or expired jwt, internal=token is malformed: could not base64 decode header: illegal base64 data at input byte 6
I can't seem to figure out the issue, I tried double encoding the token with base64 but that doesn't work as well.
I'm utilizing the following package versions:
Any help would be greatly appreciated. TIA
Beta Was this translation helpful? Give feedback.
All reactions