You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the middleware function AuthorizeJWT is not working correctly since the method ctx.GetHeader("Authorization") is expecting to get the header but this is not happening.
The solution I used was after signing in, I would manually add the token generated on the header section in Postman for the routes to work. But you have to keep doing it all the time after the token expires which is a little tiresome.
The text was updated successfully, but these errors were encountered:
What this issue is about:
AuthorizeJWT
is not working correctly since the methodctx.GetHeader("Authorization")
is expecting to get the header but this is not happening.token
generated on the header section inPostman
for the routes to work. But you have to keep doing it all the time after the token expires which is a little tiresome.The text was updated successfully, but these errors were encountered: