Skip to content
Connect an agent

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/callback

TL;DR

QuestionAnswer
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

FieldTypeRequiredDescription
codestringno
statestringno
errorstringno

Responses

StatusMeaningBody
302To the portal.none
401Not signed in.ErrorResponse
503This server has no portal address.ErrorResponse

See also

DocWhy
API referenceEvery endpoint, and the error envelope
SchemasEvery request and response type
Tool referenceThe operations as callable tools