-
Notifications
You must be signed in to change notification settings - Fork 3
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
Add support for authentication #9
Comments
tigreped
added a commit
that referenced
this issue
Nov 23, 2015
…ased on email and password. Only a hash of the hashed password concatenated with a pseudorandom md5 salt is stored and verified to grant user authentication. If the user is login in for the first time, a token is generated upon login, and in the future, the system will check if the token presented upon login is more than 7 days old. If it is not, return that token. If it is, generate a new token and update the database to make it the valid token for that user for the next 7 days, returning this new token to the user.
tigreped
added a commit
that referenced
this issue
Nov 23, 2015
…oved JSON error messaging with ErrorResult class. Version set as context on application.properties. Fixed some class headers with code license and improved class and method comments.
tigreped
added a commit
that referenced
this issue
Nov 25, 2015
…oid providing tokens to unauthorized users.
tigreped
added a commit
that referenced
this issue
Nov 25, 2015
tigreped
added a commit
that referenced
this issue
Nov 25, 2015
tigreped
added a commit
that referenced
this issue
Nov 26, 2015
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For security reasons, there should be some sort of authentication for the API users. Study and implement one.
The text was updated successfully, but these errors were encountered: