Skip to content
Dashboard
Theme
Theme

Profile for an access token

GET /v1/sso/profile: Profile for an access token.

View Markdown

GET /v1/sso/profile

Served by the broker on the auth host only; the api host answers not_implemented.

Scope
sso:profile
Auth
Access token
Since
1.0
  • OhAuthCat-Version string

    Minor version; defaults to the environment’s pin.

Errors share one shape; see the error code catalogue.

curl -X GET \
"https://auth.ohauthcat.com/v1/sso/profile" \
-H "Authorization: Bearer $OHAUTHCAT_ACCESS_TOKEN"
Response 200
{
"claims": {},
"risk": {
"score": 0,
"reasons": [
"impossible_travel"
],
"degraded": true
},
"custom_attributes": {},
"policy_hints": {
"force_sso": true,
"force_sso_excluded": true,
"max_age_seconds": 1,
"idp_initiated_allowed": true,
"guest": true
},
"access_policy": "guest",
"email_verified": true,
"idp_groups_verified": true,
"id": "prof_01J9ZQ4M7K2X8V3N5B6C1D0E9F",
"object": "profile",
"organization_id": "org_01J9Z3K5V7W8X9Y0Z1A2B3C4D5",
"connection_id": "conn_01J9Z3K5V7W8X9Y0Z1A2B3C4D5",
"connection_type": "saml",
"idp_id": "0oa1b2c3d4E5F6g7h8i9",
"email": "jane@acme.com",
"email_domain_verified": true,
"first_name": "Jane",
"last_name": "Doe",
"groups": [
"Engineering"
],
"role": "admin",
"attributes": {},
"raw_attributes": {},
"legacy_ids": {
"workos": "org_01H8ZQ4M7K2X8V3N5B6C1D0E9F"
}
}