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

Authentication #11

Open
Benjmhart opened this issue Mar 7, 2019 · 1 comment
Open

Authentication #11

Benjmhart opened this issue Mar 7, 2019 · 1 comment

Comments

@Benjmhart
Copy link
Owner

allow a user to sign up or login, forgot password.reset pw

  • encrypt password in db and use a timesafe comparison function to compare the submitted password to the stored hash
  • return and revoke jwt

http://hackage.haskell.org/package/jwt

@Benjmhart Benjmhart pinned this issue Apr 1, 2019
@Benjmhart
Copy link
Owner Author

so we need to have a getUser (from JWT) a Login route, and Ideally, forgot password/resetpassword routes

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