generated from Arquisoft/lomap_0
-
Notifications
You must be signed in to change notification settings - Fork 1
Authorization endpoints
Elías Llera García-Riaño edited this page Mar 7, 2023
·
3 revisions
SPECIFIC ERROR CODES PENDING TO SPECIFY
POST - /auth/login
Redirects the user to the POD provider log in, and back to the LoMap application. If the log in is successfull, the server will create two sessions: the WebApp session and the POD session.
- provider:string - url of the login service of the provider to use for the log in
- Cookie with the session
Error if the session cannot be created
GET - /auth/loginconfirm
Not intended for use, URL for the POD provider to redirect and complete the log in process
GET /auth/logout
Deletes the sessions on the RestAPI, both the WebApp session and the POD session