List escape-hatch origins for this environment
GET
/api/server/v1/allowed-origins
const url = 'https://api.toriiauth.eu/api/server/v1/allowed-origins';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
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://api.toriiauth.eu/api/server/v1/allowed-origins \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”OK
Media typeapplication/json
object
origins
required
Array<string>
Examplegenerated
{ "origins": [ "example" ]}