Get continuation state
const url = 'https://your-app.toriiauth.eu/_torii/auth/signup/continue?token=example';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://your-app.toriiauth.eu/_torii/auth/signup/continue?token=example'Returns the pending legal documents and provider context for a continuation token. Each call refreshes the intent’s idle TTL.
Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”Header Parameters
Section titled “Header Parameters”Verifier of the web OAuth flow that delivered the token; required when that flow sent _flow_challenge.
Responses
Section titled “Responses”OK
Current state of a signup/profile continuation: a pre-contract OAuth signup awaiting consent or missing fields, or a deferred sign-in completing an existing account’s profile.
object
Email on the continuation: the provider’s claim, or the address the user collected via the email step. Null when neither exists yet.
Display label of the OAuth provider (e.g. “Google”, “MitID”). Null for a profile-completion continuation, which carries no provider context.
True when the provider identity is already linked to an account. The SDK uses this to avoid sign-up wording during re-consent.
Environment’s legal-consent settings — the SDK uses this to render the checkbox + URLs.
object
When true, the SDK signup form shows a checkbox the user must tick.
Public URL to the Terms of Service, or null.
Public URL to the Privacy Policy, or null.
True when finalisation needs a name the account does not carry — the SDK renders the name fields.
True when finalisation needs a code-verified email because the account carries none (a new OAuth sign-up whose provider supplied no verified address, or an existing account that predates the requirement) — the SDK renders the email + verification-code step.
True once a verification code has been emailed to the collected address — the SDK renders the code input instead of the email input.
When this continuation expires if no further activity occurs (ISO-8601 UTC).
Examplegenerated
{ "email": "example", "oauthProviderLabel": "example", "existingUser": true, "legalSettings": { "requireConsent": true, "termsOfServiceUrl": "example", "privacyPolicyUrl": "example" }, "requiresName": true, "requiresEmail": true, "emailCodeSent": true, "expiresAt": "2026-04-15T12:00:00Z"}