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

Auth #6

Open
4 of 7 tasks
lmeireles opened this issue Jan 2, 2020 · 1 comment
Open
4 of 7 tasks

Auth #6

lmeireles opened this issue Jan 2, 2020 · 1 comment
Assignees

Comments

@lmeireles
Copy link
Collaborator

lmeireles commented Jan 2, 2020

Auth System

  • Apply password encryption.
  • Define the custom information encrypted in the JWT tokens.
  • Apply JWT for user tokens.

Endpoints Auth

  • POST /v1/auth/sign_in - Login user into platform and return a JWT token.
  • POST /v1/auth/sign_up - Register user into platform and return a JWT token.
  • POST /v1/auth/forgot_password - Sends user an email with a recovery link (with token).
  • POST /v1/auth/change_password - Update user password with a recovery token.
@lmeireles lmeireles self-assigned this Jan 2, 2020
@lmeireles
Copy link
Collaborator Author

I'm thinking about JWT for the token system.
And using email/password for authentication.

  • Password rules
    • Minimum length: 6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant