Callback endpoint for OAuth2 Authorization Code grant flows as part of the OIDC spec.
Request
- Base URLhttps://docs.tetrate.io (the document declares no server; this is the origin it was published from)
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
OAuth2 Authorization Code. When present this indicates the user authorized the request. TSB will use this code to acquire a token from the OIDC token endpoint and complete the login flow.
OAuth2 Error Code. When present this indicates that either the authorization request has an error, the OIDC provider encountered an error or the user failed to log in. When set TSB will display information to the user indicating what went wrong.
Standard error codes can be found found here. https://datatracker.ietf.org/doc/html/rfc6749#section-4.1.2.1 https://openid.net/specs/openid-connect-core-1_0.html#AuthError
The state parameter sent to the OIDC provider on the authorization request.
Optional error description sent by the OIDC provider when an error occurs.
Optional error URI of a web page that includes additional information about the error.
Response
A successful response.
Changes
No recorded changes to this operation across all 3 revisions of this API.