About
User management for your web or mobile application.
You can find source code on GitHub or download the container from Docker and give it a try.
Routes
Method | Path | Description |
---|---|---|
POST | /user/register | Creates new user in database and calls onRegister callback(s). |
POST | /user/login | Checks if email and password are correct, creates refresh token and access token and calls onLogin callback(s). Access token is returned in JSON response, while refresh token is returned in cookie. |
GET | /user/logout | Invalidates refresh token. |
You can test each route with Postman collection.
Examples
List of projects where user-service
is used: