Zurück zur Übersicht » REST - Logon - OAuth2 - Cobot

REST - Logon - OAuth2 - Cobot

REST-Interface

Send oauth2 request

Generate oauth2-request to cobot and redirect to oauth2-server.
URL
GET <application-url>/api/logon/oauth2/cobot

Produces

Permission
-

Sample
GET http://localhost:8080/mtr-backend/api/logon/oauth2/cobot


Send oauth2 request for update

Generate oauth2-request to cobot and redirect to oauth2-server.
This tries to import personal data from cobots oauth2-response in callback.
URL
GET <application-url>/api/logon/oauth2/cobot/update

Produces

Permission
Login

Sample
GET http://localhost:8080/mtr-backend/api/logon/oauth2/cobot/update


Handle oauth2 response

Try to login or update personal data with cobots oauth2-response.
URL
GET <application-url>/api/logon/oauth2/cobot/callback

Produces

Permission
-

Sample
GET http://localhost:8080/mtr-backend/api/logon/oauth2/cobot/callback