Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Middleware GetHeader Method Error #2

Open
AbdulrahmanDaud10 opened this issue Sep 21, 2023 · 0 comments
Open

Middleware GetHeader Method Error #2

AbdulrahmanDaud10 opened this issue Sep 21, 2023 · 0 comments

Comments

@AbdulrahmanDaud10
Copy link

What this issue is about:

  • 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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant