The identity provider's answer: signs the person in and redirects.
GET
/api/v1/auth/sso/callback
const url = 'https://example.com/api/v1/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://example.com/api/v1/auth/sso/callbackParameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”code
string
state
string
error
string
Set by the provider when the person or the provider refused.
Responses
Section titled “Responses”Signed in, or back to the sign-in page