Skip to main content

Submit a user claims request

POST 

/userinfo

POST variant of the UserInfo endpoint as required by OIDC Core 1.0 Section 5.3. The access token may be submitted either in the Authorization request header as a Bearer token or as the access_token form parameter in the request body. Response and error semantics are identical to the GET variant. Refer to the introduction section for details on how to configure this use case.

Request

Header Parameters

    Authorization string

    Bearer access token. Required when access_token form parameter is not used. Format: Bearer <access_token>.

Body

    access_token string

    The access token as a form parameter. Alternative to the Authorization header. Using the Authorization header is preferred.

Responses

User claims returned successfully

Schema
    sub stringrequired

    Subject identifier — the nevisIDM user's external ID (extid).

    name string

    Full name of the user, composed from title, first name, and family name.

    given_name string

    Given name (first name) of the user.

    family_name string

    Family name (surname) of the user.

    preferred_username string

    Preferred username — the nevisIDM login ID.

    email string

    Email address of the user.

    phone_number string

    Phone number of the user.

    birthdate string

    Birthdate of the user in ISO 8601 format (YYYY-MM-DD).

    gender string

    Possible values: [male, female, other, unknown]

    Gender of the user. Derived from the nevisIDM sex code.

    locale string

    Locale of the user in BCP 47 format.

    updated_at int64

    Time the user's information was last updated, as Unix epoch seconds.

    address object

    Physical mailing address of the user.

    formatted string

    Full formatted address.

    street_address string

    Street address, including house number.

    locality string

    City or locality.

    region string

    Region or state.

    postal_code string

    Postal or ZIP code.

    country string

    Country name.

Loading...