Come back from the instance's identity provider
GET
/api/platform/auth/sso/callback
const url = 'https://forge.example.com/api/platform/auth/sso/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://forge.example.com/api/platform/auth/sso/callbackWhere the provider sends the browser back. Not a call for scripts. A sign-in is taken only when the provider’s token proves a second factor, and only for an existing operator account.
Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”code
string
state
string
Responses
Section titled “Responses”Redirects the browser.
default
Section titled “default”A refusal or an error, as a problem document. A model or draft you may not see answers 404, as one that does not exist.
Media typeapplication/problem+json
object
type
string
title
string
status
integer
detail
string
instance
string
Example generated
{ "type": "example", "title": "example", "status": 1, "detail": "example", "instance": "example"}