In addition to the standard OpenID Connect claims (listed here: http://openid.net/specs/openid-connect-core-1_0.html#StandardClaims) onePortal supports some additional custom claims. If they are requested in the original authentication request, the corresponding response values are included either in the ID token or in the /userinfo resource, depending on the request (http://openid.net/specs/openid-connect-core-1_0.html#ClaimsParameter).The claim names are formatted as URIs to provide a common private namespace.
List of claims
Since service version 3.2 the list of custom claims can be accessed via the OpenID Connect client configuration user interface. It will list the scopes and claims that are usable on your specific service installation. You can find out the connections between scopes and claims as well.
Pre-3.2 service version
The claims available before service version 3.2 are listed here
Custom claim name | Description | Type | Example | Since | Granted also with scope | |||||
---|---|---|---|---|---|---|---|---|---|---|
https://oneportal.trivore.com/claims/consents | User consent information. | JSON object |
| 2.8.4 | https://oneportal.trivore.com/scope/consent.readonly | |||||
https://oneportal.trivore.com/claims/groups | Array of group names user is a member of. | JSON array |
| https://oneportal.trivore.com/scope/groups.readonly | ||||||
https://oneportal.trivore.com/claims/namespace | Namespace code | String | "admin" | 2.8.1 | Always granted since 2.8.2. | |||||
https://oneportal.trivore.com/claims/strong_identification | User's strong identification status. How has the user been strongly identified. The response object has the following fields:
| JSON object |
| |||||||
https://oneportal.trivore.com/claims/legal_locality | User's legal home city or locality name and code. The response object has the following fields:
| JSON object |
| https://oneportal.trivore.com/scope/legalinfo.readonly | ||||||
https://oneportal.trivore.com/claims/legal_names | User's legal names. The response object may have some of the following fields:
| JSON object |
| 2.8.2 | https://oneportal.trivore.com/scope/legalinfo.readonly | |||||
https://oneportal.trivore.com/claims/minor | User's 'minor' status. Is user a minor? The exact age limit is not specified so the client must make the determination based on their use case. | Boolean | null, true or false | profile | ||||||
https://oneportal.trivore.com/claims/personal_id_code | User's personal ID code. The information is sourced from either:
| String | "170675-123A" | https://oneportal.trivore.com/scope/legalinfo.readonly | ||||||
https://oneportal.trivore.com/claims/student | User's student status information. The response object has some of the following fields:
| JSON object |
| 2.8.0 | https://oneportal.trivore.com/scope/studentinfo.readonly | |||||
https://oneportal.trivore.com/claims/tags | User's tags. Provides an array of string values. | JSON array |
| 3.2 | profile |
...