TINFO Userinfo Useradmin uses the default Access Token format of the OIDC Provider from BankID, adapted to the Client Credential flow that is used by TINFO Userinfo.
...
The following is an example of a valid Access Token for TINFO Useradmin. The resource designator tinfo
is added to the resource_access
claim of the access token to signify access to the associated endpoints of the TINFO Useradmin API.
Code Block | ||
---|---|---|
| ||
{ "jti": "d53ac783-1a48-41a0-9616-4e10cc4293b9", "exp": 1520673178, "nbf": 0, "iat": 1520672878, "iss": "https://prototype.bankidnorge.no/auth/realms/Systemtest", "aud": [ "tinfo", ], "sub": "2ed4c4c6-63b8-4f0a-8279-74fbf1b5da11", "typ": "Bearer", "azp": "frodens-test", "auth_time": 0, "session_state": "c5ff2648-7ece-4658-98b6-b5d2627c81ae", "acr": "1", "allowed-origins": [], "resource_access": { "tinfo": { "roles": [ "UnrollEndUser", "IsEnrolled" ] } }, "clientId": "frodens-test", "clientHost": "80.86.138.154", "clientAddress": "80.86.138.154" } |