Closed IzqCode closed 2 years ago
This adds auth endpoints for the website and an auth middleware to populate req.user. The endpoints are:
req.user
POST /login
token
tokenType
expiresIn
POST /logout
GET /who_am_i
This adds auth endpoints for the website and an auth middleware to populate
req.user
. The endpoints are:POST /login
token
,tokenType
andexpiresIn
in the request body which comes from the implicit grant flow in the front endPOST /logout
GET /who_am_i