Get continuation state
GET
/_torii/auth/signup/continue
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”token
required
string
Header Parameters
Section titled “Header Parameters”Host
string
Responses
Section titled “Responses”OK
Media typeapplication/json
Current state of a pre-contract OAuth signup awaiting legal consent.
object
email
Email captured from the OAuth provider, if any.
string | null
oauthProviderLabel
required
Display label of the OAuth provider (e.g. “Google”, “MitID”).
string
legalSettings
required
Environment’s legal-consent settings — the SDK uses this to render the checkbox + URLs.
object
requireConsent
required
When true, the SDK signup form shows a checkbox the user must tick.
boolean
termsOfServiceUrl
Public URL to the Terms of Service, or null.
string | null
privacyPolicyUrl
Public URL to the Privacy Policy, or null.
string | null
expiresAt
required
When this continuation expires if no further activity occurs (ISO-8601 UTC).
string format: date-time
Examplegenerated
{ "email": "example", "oauthProviderLabel": "example", "legalSettings": { "requireConsent": true, "termsOfServiceUrl": "example", "privacyPolicyUrl": "example" }, "expiresAt": "2026-04-15T12:00:00Z"}