Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/swelham/sails-jwt-example
A sails.js user management example using JWT for authorisation
https://github.com/swelham/sails-jwt-example
Last synced: 30 days ago
JSON representation
A sails.js user management example using JWT for authorisation
- Host: GitHub
- URL: https://github.com/swelham/sails-jwt-example
- Owner: swelham
- Created: 2014-01-30T16:13:52.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2014-08-29T10:06:47.000Z (about 10 years ago)
- Last Synced: 2023-08-03T16:13:08.017Z (over 1 year ago)
- Language: JavaScript
- Size: 395 KB
- Stars: 35
- Watchers: 3
- Forks: 3
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# sails-jwt-example
A sails.js user management example using JWT for authorisation
# todo
* ~~Registration~~
* ~~Login~~
* ~~Token generation & valiadtion~~
* ~~Password reset~~
* ~~Account locking~~
* Correct the way token expiration is handled (should set the expire time in the token)
* Update the request header to use ```Authorization: Bearer {token}```
* User emails - need to decide how to handle user email address
* 1 - option to store email as username or separate property
* 2 - always store email as a property and copy email to username
* 3 - make emailing optional
* Code documentation
* Tests