Skip to content

Disavow a new-device sign-in

POST
/_torii/auth/unauthorized-sign-in
curl --request POST \
--url https://your-app.toriiauth.eu/_torii/auth/unauthorized-sign-in \
--header 'Content-Type: application/json' \
--data '{ "token": "example" }'

Consumes the one-time token and revokes the session it was issued for together with that user’s other sessions on the same browser. The browser then counts as a new device for the user again.

Host
string
Media typeapplication/json
object
token
required
string
Examplegenerated
{
"token": "example"
}

OK