Complete OpenID Connect sign-in in the browser
const url = 'https://example.com/api/v1/auth/oidc/example/callback';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example.com/api/v1/auth/oidc/example/callbackA link or re-auth flow already runs in a signed-in browser whose session the flow names (and re-auth marks fresh), so it keeps that session instead of receiving a second one. Complete OpenID Connect sign-in in the browser
Completes the OpenID Connect sign-in in the browser. The request must contain a valid OpenID Connect callback. A signed-in User is not needed. It can return 429 if the request limit is reached. Route: /api/v1/auth/oidc/{provider}/callback. Inputs: provider, code, state, error. Do not automatically replay this operation after an uncertain result.
Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Configured OIDC provider name, as listed by GET /auth/options
Query Parameters
Section titled “Query Parameters”Authorization code from the IdP.
The state returned by the flow start.
Set by the IdP instead of code when the user or IdP refused.
Responses
Section titled “Responses”Redirect to the web app; ?sso=failed marks a failure
Too many requests
object
Examplegenerated
{ "code": "example", "message": "example"}