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

feat: implement the token authentication middleware #54

Open
5 tasks
inidaname opened this issue Feb 17, 2023 — with Slack · 0 comments
Open
5 tasks

feat: implement the token authentication middleware #54

inidaname opened this issue Feb 17, 2023 — with Slack · 0 comments

Comments

Copy link
Member

inidaname commented Feb 17, 2023

Implement a middleware for checking and verifying token.

  • should allow access to the requested route if verified
  • should restrict access if failed
  • should have an expiry of 2 weeks token
  • should use packages like jwt
  • should return 400 on failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant