Skip to content

JWT Auth #135

@v0ldemar01

Description

@v0ldemar01

User story:
As a user, I want to stay logged in when I revisit the app later so that I don’t have to enter my credentials every time.

Acceptance Criteria:

  • If a user successfully signed up and his account is created then a unique JWT Verification token should be generated.
  • If the user sign in and the user’s account credentials are verified, then a unique JWT Authorization token should be Implement for the user’s session.
  • The token should be passed to the frontend and stored in the local Storage.
  • The JWT token should store the user’s id.
  • The token should have an expiration time - one day. The token should become invalid and unusable after the expiration time.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions