This is a simple authentication server which stores users and issues tokens, it can either be used standalone or be embedded into an existing service.
- Uses scrypt for password hashing
- Simple RESTish interface (see below)
- Issues JWT tokens
- No Sessions or cookies
TODO
curl -v -H "Content-Type: application/json; charset=UTF-8" -X POST \
-d '{"login":"mememe","email":"me@example.com","password":"mepass"}' http://localhost:9090/users
curl -v --data "login=mememe&password=mepass" http://localhost:9090/auth/sign_in
curl -v -H "Content-Type: application/json; charset=UTF-8" \
-H "Authorization: Bearer AS_ABOVE" \
-X PUT -d '{"name":"Me Me"}' http://localhost:9090/users
curl -v -H "Content-Type: application/json; charset=UTF-8" \
-H "Authorization: Bearer AS_ABOVE" \
-X GET http://localhost:9090/users
- A data store, at the moment it supports RethinkDB with more to come.
- Stores users
- Authenticates users
- Supports RethinkDB as a datastore
- Support for scopes and permission checks based on them
- Email activation of accounts
- Web interface
This project is released under BSD 3-clause license. Copyright 2016, Mark Wolfe .