Start satellite session sync
GET
/_torii/auth/session/sync/start
const url = 'https://your-app.toriiauth.eu/_torii/auth/session/sync/start?redirect=example&publishable_key=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/session/sync/start?redirect=example&publishable_key=example'Called on the satellite’s own host. Sets the browser-binding cookie there and redirects to the primary /sync that publishable_key encodes, carrying only the cookie’s hash.
Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”redirect
required
string
publishable_key
required
string
The primary’s publishable key; its encoded host must be one of the environment’s own.
_proxy_origin
string
The SDK’s proxyOrigin when the satellite routes its Frontend API traffic through a proxy.
Header Parameters
Section titled “Header Parameters”Host
string
Responses
Section titled “Responses”Redirect to the primary’s session sync
Media type*/*
object
Malformed Host or URL, unknown satellite, redirect not allowed, or a publishable key that does not encode one of this environment’s hosts
Media typeapplication/problem+json
object
type
string format: uri
title
string
status
integer format: int32
detail
string
instance
string format: uri
properties
object
key
additional properties
Examplegenerated
{ "type": "https://example.com", "title": "example", "status": 1, "detail": "example", "instance": "https://example.com", "properties": { "additionalProperty": "example" }}