Send oauth2 request
Generate oauth2-request to google and redirect to oauth2-server.
URL
GET <application-url>/api/person/oauth2/google
Produces
- 303 SEE_OTHER
- 500 INTERNAL_SERVER_ERROR
Permission
-
Sample
GET http://localhost:8080/mtr-backend/api/person/oauth2/google
Handle oauth2 response
Try to import personal data from googles oauth2-response.
URL
GET <application-url>/api/person/oauth2/google/callback
Produces
- 303 SEE_OTHER
- 500 INTERNAL_SERVER_ERROR
Permission
-
Sample
GET http://localhost:8080/mtr-backend/api/person/oauth2/google/callback