diff --git a/src/test/resources/oidc-access-token.json b/src/test/resources/oidc-access-token.json new file mode 100644 index 0000000..00692a9 --- /dev/null +++ b/src/test/resources/oidc-access-token.json @@ -0,0 +1,40 @@ +{ + "exp": 1622216161, + "iat": 1622215861, + "jti": "d391d814-a1f6-4a40-9aa3-3f51ec59988c", + "iss": "https://accounts.dev.d4science.org/auth/realms/d4science", + "aud": "account", + "sub": "1c84108a-201d-4e20-8ad2-d72b08d58f8a", + "typ": "Bearer", + "azp": "lr62_portal", + "session_state": "1a054bb7-4d87-44a9-ad1f-1746ef2dd522", + "acr": "1", + "allowed-origins": [ + "https://dev.d4science.org" + ], + "realm_access": { + "roles": [ + "offline_access", + "Infrastructure-Client", + "uma_authorization" + ] + }, + "resource_access": { + "account": { + "roles": [ + "manage-account", + "manage-account-links", + "view-profile" + ] + } + }, + "scope": "email profile", + "email_verified": true, + "name": "Gino Stilla", + "groups": [], + "preferred_username": "gino.stilla", + "given_name": "Gino", + "locale": "it", + "family_name": "Stilla", + "email": "gino@stilla.com" +} \ No newline at end of file