Get user information
Returns list of claims for requesting User based on presented token
Endpoint
Request Type | URL |
|---|---|
POST | https://{EnvironmentURL}/{Client_tenant}/connect/userinfo |
Headers
No headers
Request parameters
Client_tenant, optional string, Identifier of tenant of on DigiDoe side for case of EMI
Responses
200 OK - Success
Body - JSON
Claims of the User
Parameter | Type | Mandatory | Description |
|---|---|---|---|
string | Yes | Email address of the User | |
emi_customer_id | string, uuid | Yes | Identifier of EMI Customer, owner of the Tenant where User is registered |
tenant | string | Yes | Tenant string identifier |
tenant_name | string | Yes | Tenant name |
tenant_id | string, uuid | Yes | Tenant identifier |
tenant_parent_id | string, uuid | No | Parent tenant of User's tenant |
person_id | string, uuid | No | Identifier of related Person |
username | string | Yes | Login of the User |
phone | string | Yes | Phone number of the User |
email_confirmed | string, boolean | Yes | True if User confirmed his email via OTP |
phone_confirmed | string, boolean | Yes | True if User confirmed his phone number via OTP |
group | string | No | Names of global role groups issued to the User |
role | string array | No | Names of global roles issued to the User |
cgroup | string array | No | List of role groups issued to the User in the specified Customers. Format: {CustomerId};{RoleGroup} |
crole | string array | No | List of roles issued to the User in the specified Customers. Format: {CustomerId};{Role} |
sub | string, uuid | Yes | Identifier of the User |