Organisations
Where Google sends the browser back
Checks the state, keeps the access Google gave, and redirects to the portal’s storage page, with an error word when it did not work.
GET
/storage/google/callbackTL;DR
| Question | Answer |
|---|---|
| What does it do? | Where Google sends the browser back. |
| What does it take? | code, state, error in the query string. |
| What does it return? | Status 200 with no body. |
| What can go wrong? | 302 to the portal; 401 not signed in; 503 this server has no portal address. Every failure uses the one error envelope. |
What it does
Checks the state, keeps the access Google gave, and redirects to the portal’s storage page, with an error word when it did not work.
Query parameters
| Field | Type | Required | Description |
|---|---|---|---|
code | string | no | |
state | string | no | |
error | string | no |
Responses
| Status | Meaning | Body |
|---|---|---|
| 302 | To the portal. | none |
| 401 | Not signed in. | ErrorResponse |
| 503 | This server has no portal address. | ErrorResponse |
See also
| Doc | Why |
|---|---|
| API reference | Every endpoint, and the error envelope |
| Schemas | Every request and response type |
| Tool reference | The operations as callable tools |