A user wants profile data from an app.
- User makes a request to a client (website, mobile app, etc).
- Client (may) redirect the user to auth server login form.
- User logs into the auth server.
- Auth server validates previous credentials and returns an access token to the client.
- Client sends the access token to the app.
- App asks to the auth server if the token is valid.
- Auth server validates the token and returns info to the app (TODO complete which kind of information returns, exp date ...)
- App provides data to the client.