Users should be able to log in using the following methods:
[x] Google
[x] GitHub
[ ] Email + Pwd
@Azkali complete the list above, then remove the question label
Process:
The front app display a page with all login methods
It sends required data to the server by accessing the correct server endpoint directly (no AJAX).
The server do authentication process, then redirect the user to the /login-ok route of the front app, with a JSON Web Token (JWT) in the header (TODO: which header?).
The front application retrieves that header, and stores it (in cookies, storage, or memory, depending on cookie consents).
For all subsequent requests to the server, the front application sends the JWT in the todo header.
Users should be able to log in using the following methods:
Process:
/login-ok
route of the front app, with a JSON Web Token (JWT) in the header (TODO: which header?).todo
header.