Skip to content

Retrieve the SSO status

Request

Retrieves the SSO status and metadata of the current user.

Security
CookieBlaizeSession or JwtQuery or JwtHeaderXBlaizeJwt or JwtHeaderXZephrJwt or JwtBearer or JwtCookie
cURL
curl -i -X GET \
  https://demo-site/zephr/public/sso/v1/status \
  -b blaize_session=YOUR_API_KEY_HERE

Responses

SSO status was retrieved successfully.

Headers
any
Bodyapplication/json
statusstringrequired

The SSO status of the current user session. This can be:

  • unknown: The SSO token is not authenticated anywhere, or the current session is not associated with an SSO token.

  • known: The current session is anonymous, but the SSO token is authenticated on another site.

  • authenticated: The current session is authenticated through an SSO token.

Example:"authenticated"
metacustomer-meta (object) or (string or null)
One of:
object(customer-meta)
Response
{ "status": "authenticated", "meta": {} }