Let's get started with our first service: User Manager (UM).
Our UM should allow us to do the following:
- Sign Up
- Login (Get the Access Token)
- Forgot Password
- Verify Access Token
- Renew Access Token
That's it—it's a lean and straightforward service but will be a central element for our application. The UM will verify incoming credentials (email and password) and then return an access—as well as a refresh—token to the client. With access and refresh tokens, the client can send requests to the other services and renew the access token when needed.