Skip to content

feat: implement the token authentication middleware #54

@inidaname

Description

@inidaname

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions