Skip to content
Torii docs

Get password status

GET
/_torii/auth/password-status
curl --request GET \
--url https://your-app.torii.so/_torii/auth/password-status

Returns whether the current user has a password set. SDKs use this to decide whether the ‘change password’ form must collect the current password (true) or is setting a password for the first time (false — typical for OAuth-only accounts).

OK

Media type application/json
object
hasPassword
required
boolean
Example generated
{
"hasPassword": true
}