user

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

  • The document declares no server URL.
  • Auth
    HTTP bearer

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

Changes

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • info

      added the new optional request property

    • info

      added the new optional request property

    • info

      added the new optional request property

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      endpoint added