Skip to content

Finalise a signup/profile continuation

POST
/_torii/auth/signup/continue
curl --request POST \
--url 'https://your-app.toriiauth.eu/_torii/auth/signup/continue?_is_native=false' \
--header 'Content-Type: application/json' \
--data '{ "token": "rZmH3pV1l3CkN3...", "legalConsentAccepted": true, "codeVerifier": "example", "firstName": "example", "lastName": "example", "emailCode": "example" }'

Records the supplied legal-document acceptances and collected profile fields, creates the user (or completes the existing account’s sign-in for a profile continuation) atomically, and returns a session cookie + short-lived access token.

Host
string
_is_native
boolean
Media typeapplication/json

Finalises a signup/profile continuation (a deferred OAuth signup, or an existing account completing a missing required field).

object
token
required

Continuation token — from the OAuth callback redirect fragment, or the profile_required sign-in response body.

string
Example
rZmH3pV1l3CkN3...
legalConsentAccepted
required

Whether the user ticked the legal-consent checkbox on the continuation screen. Must be true when the environment’s legal_settings.require_consent is true.

boolean
codeVerifier

PKCE code verifier for native OAuth signups. Required when the continuation was started by a native (Capacitor) OAuth flow (the intent carries an S256 challenge); omitted for web.

string | null
firstName

User-typed first name. Required when the continuation state reports requiresName.

string | null
lastName

User-typed last name. Optional companion to firstName.

string | null
emailCode

6-digit code emailed to the collected address. Required when the continuation state reports requiresEmail.

string | null

OK

Media typeapplication/json
object
Examplegenerated
{}