Sign in with a Google identity token
POST/api/v1/addons/google/session
Exchange the Google identity token of the add-on's user for a GoRoute session.
The session acts as the GoRoute login the Google account is linked to, with that person's role in their organisation. A Google account seen for the first time is linked at once when its address has no GoRoute login (one is created), and only after an emailed confirmation when it has one.
Requestโ
Responsesโ
- 200
- 202
- 401
- 403
- 404
- 422
- 503
Successful Response
The address already has a GoRoute login; a confirmation was emailed.
The token is not a valid Google identity token for this add-on.
This address cannot sign in through the add-on.
The add-on sign-in is not enabled on this environment.
Validation Error
Google's signing keys or the login service could not be reached.