v34

latestOpenAPI 3.1.0raw.githubusercontent.com2026-01-2166128239.1 KB
user

Sso Status

Check SSO user registration state.

Returns one of three states:

  1. new_user: No user exists with this email
  2. local_exists: User exists but registered locally (can link to SSO)
  3. sso_exists: User exists and already linked to SSO

Frontend uses this to show appropriate UI:

  • new_user -> "Set Master Password"
  • local_exists -> "Link SSO? Enter current master password"
  • sso_exists -> "Enter Master Password"
post/api/user/sso-status

Request body

sso_tokenstring required
emailstring email required
given_namestring nullable
family_namestring nullable
picturestring nullable

Response

Successful Response

statusstring required
emailstring email required
given_namestring nullable
family_namestring nullable