Truid - OpenID Connect User Info (1.0.0)

Download OpenAPI specification:Download

API to fetch OpenID Connect User info

OICD User Info

Get claims according to OIDC

Gets claims shared with the service provider according to the OIDC specification.

Responses

Response Schema: application/json
sub
string

Unique id of the End-User, specific for the Service (ppid).

iss
string

Issuer id (url). Only included in ID Token format.

aud
string

Audience for the token. Must include Service client_id. Only included in ID Token format.

phone_number
string
phone_number_verified
boolean
email
string
email_verified
boolean
name
string
given_name
string
family_name
string
birthdate
string
gender
string

End-User's gender. Values defined by the OIDC specification are female and male. https://openid.net/specs/openid-connect-core-1_0.html#StandardClaims

Other values MAY be used when neither of the defined values are applicable. http://emsa.europa.eu/cise-documentation/cise-data-model-1.5.3/model/enum/Person_GenderType.html

truid.app/claim/nationality/v1
string (NationalityV1Format)

ISO-3166 Alpha-3 Country Code.

truid.app/claim/personal-number/swe-10/v1
string (SwedishPersonalNumber10Format) \d{10}

10 digit Swedish Personal Number (personnummer).

Response samples

Content type
application/json
{
  • "sub": "string",
  • "iss": "string",
  • "aud": "string",
  • "phone_number": "string",
  • "phone_number_verified": true,
  • "email": "string",
  • "email_verified": true,
  • "name": "string",
  • "given_name": "string",
  • "family_name": "string",
  • "birthdate": "string",
  • "gender": "string",
  • "address": {
    },
  • "truid.app/claim/nationality/v1": "string",
  • "truid.app/claim/personal-number/swe-10/v1": "string"
}