Test Info

Issuerhttps://isamfed.com:30443/test
Profile[]
Test IDOP-UserInfo-RS256
Test descriptionRP registers userinfo_signed_response_alg to signal that it wants signed UserInfo returned
Timestamp2019-06-17T06:39:09Z

Conditions


asym-signed-userinfo: status=OK [Verifies that the UserInfo was signed with a RSA key]
verify-response: status=OK [Checks that the last response was one of a possible set of OpenID Connect Responses]
Done: status=OK

Trace Output

0phase<--<-- 0 --- Webfinger -->-->
0not expected to doWebFinger
0phase<--<-- 1 --- Discovery -->-->
0provider_config
kwargs:{'issuer': 'https://isamfed.com:30443/test'}
1http response
url:https://isamfed.com:30443/test/.well-known/openid-configuration status_code:200
1ProviderConfigurationResponse
{
    "authorization_endpoint": "https://isamfed.com:30443/mga/sps/oauth/oauth20/authorize",
    "claims_parameter_supported": false,
    "claims_supported": [
        "realmName",
        "preferred_username",
        "given_name",
        "uid",
        "upn",
        "groupIds",
        "employee_id",
        "name",
        "tenantId",
        "mobile_number",
        "department",
        "job_title",
        "family_name",
        "email"
    ],
    "device_authorize_endpoint": "https://isamfed.com:30443/mga/sps/oauth/oauth20/device_authorize",
    "grant_types_supported": [
        "urn:ietf:params:oauth:grant-type:jwt-bearer",
        "implicit",
        "urn:ietf:params:oauth:grant-type:saml2-bearer",
        "urn:ietf:params:oauth:grant-type:device_code",
        "client_credentials",
        "password",
        "authorization_code",
        "refresh_token"
    ],
    "id_token_signing_alg_values_supported": [
        "RS256"
    ],
    "introspect_endpoint": "https://isamfed.com:30443/mga/sps/oauth/oauth20/introspect",
    "issuer": "https://isamfed.com:30443/test",
    "jwks_uri": "https://isamfed.com:30443/mga/sps/jwks",
    "name": "OIDCDefinition",
    "poc": "https://isamfed.com:30443/mga/",
    "registration_endpoint": "https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition",
    "request_parameter_supported": true,
    "request_uri_parameter_supported": true,
    "require_request_uri_registration": false,
    "response_modes_supported": [
        "fragment",
        "form_post"
    ],
    "response_types_supported": [
        "token",
        "id_token",
        "token id_token",
        "code",
        "code id_token",
        "code token id_token",
        "code token",
        "none"
    ],
    "revocation_endpoint": "https://isamfed.com:30443/mga/sps/oauth/oauth20/revoke",
    "subject_types_supported": [
        "public"
    ],
    "token_endpoint": "https://isamfed.com:30443/mga/sps/oauth/oauth20/token",
    "token_endpoint_auth_methods_supported": [
        "private_key_jwt",
        "client_secret_post",
        "client_secret_basic"
    ],
    "user_authorize_endpoint": "https://isamfed.com:30443/mga/sps/oauth/oauth20/user_authorize",
    "userinfo_endpoint": "https://isamfed.com:30443/mga/sps/oauth/oauth20/userinfo",
    "userinfo_signing_alg_values_supported": [
        "RS256"
    ],
    "version": "3.0"
}
1phase<--<-- 2 --- Registration -->-->
1register
kwargs:{'response_types': ['code'], 'grant_types': ['authorization_code'], 'application_name': 'OIC test tool', 'application_type': 'web', 'redirect_uris': ['https://op.certification.openid.net:61164/authz_cb'], 'contacts': ['roland@example.com'], 'post_logout_redirect_uris': ['https://op.certification.openid.net:61164/logout'], 'url': 'https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition', 'jwks_uri': 'https://op.certification.openid.net:61164/static/jwks_61164.json', 'token_endpoint_auth_method': 'private_key_jwt', 'userinfo_signed_response_alg': 'RS256'}
1RegistrationRequest
{
    "application_type": "web",
    "contacts": [
        "roland@example.com"
    ],
    "grant_types": [
        "authorization_code"
    ],
    "jwks_uri": "https://op.certification.openid.net:61164/static/jwks_61164.json",
    "post_logout_redirect_uris": [
        "https://op.certification.openid.net:61164/logout"
    ],
    "redirect_uris": [
        "https://op.certification.openid.net:61164/authz_cb"
    ],
    "response_types": [
        "code"
    ],
    "token_endpoint_auth_method": "private_key_jwt",
    "userinfo_signed_response_alg": "RS256"
}
1http response
url:https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition status_code:200
1RegistrationResponse
{
    "application_type": "web",
    "client_id": "FYYVONBMuEO2GftNkYKY",
    "client_id_issued_at": 1560753544,
    "client_secret": "MnWVp7dhoMf1ezYASF9B",
    "client_secret_expires_at": 0,
    "contacts": [
        "roland@example.com"
    ],
    "grant_types": [
        "authorization_code"
    ],
    "jwks_uri": "https://op.certification.openid.net:61164/static/jwks_61164.json",
    "post_logout_redirect_uris": [
        "https://op.certification.openid.net:61164/logout"
    ],
    "redirect_uris": [
        "https://op.certification.openid.net:61164/authz_cb"
    ],
    "registration_access_token": "bwiZmxjjFAumtyH93z4s",
    "registration_client_uri": "https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition?client_id=FYYVONBMuEO2GftNkYKY",
    "response_types": [
        "code"
    ],
    "token_endpoint_auth_method": "private_key_jwt",
    "userinfo_signed_response_alg": "RS256"
}
1phase<--<-- 3 --- AsyncAuthn -->-->
1AuthorizationRequest
{
    "client_id": "FYYVONBMuEO2GftNkYKY",
    "nonce": "oca6b0xj0nja5711",
    "redirect_uri": "https://op.certification.openid.net:61164/authz_cb",
    "response_type": "code",
    "scope": "openid",
    "state": "GMQGfOmcp6AIXogm"
}
1redirect urlhttps://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=GMQGfOmcp6AIXogm&nonce=oca6b0xj0nja5711&response_type=code&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61164%2Fauthz_cb&client_id=FYYVONBMuEO2GftNkYKY
1redirecthttps://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=GMQGfOmcp6AIXogm&nonce=oca6b0xj0nja5711&response_type=code&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61164%2Fauthz_cb&client_id=FYYVONBMuEO2GftNkYKY
2responseResponse URL with query part
2response{'state': 'GMQGfOmcp6AIXogm', 'code': 'YFXRQPuUHRpUQISr1LIa8ygmwAmxC9'}
2response{'state': 'GMQGfOmcp6AIXogm', 'code': 'YFXRQPuUHRpUQISr1LIa8ygmwAmxC9'}
2AuthorizationResponse
{
    "code": "YFXRQPuUHRpUQISr1LIa8ygmwAmxC9",
    "state": "GMQGfOmcp6AIXogm"
}
2phase<--<-- 4 --- AccessToken -->-->
2requestop_args: {'state': 'GMQGfOmcp6AIXogm'}, req_args: {'redirect_uri': 'https://op.certification.openid.net:61164/authz_cb'}
2do_access_token_request
kwargs:{'request_args': {'redirect_uri': 'https://op.certification.openid.net:61164/authz_cb', 'code': 'YFXRQPuUHRpUQISr1LIa8ygmwAmxC9', 'state': 'GMQGfOmcp6AIXogm', 'grant_type': 'authorization_code', 'client_id': 'FYYVONBMuEO2GftNkYKY'}, 'state': 'GMQGfOmcp6AIXogm', 'authn_method': 'private_key_jwt'}
2AccessTokenRequest
{
    "client_assertion": "eyJhbGciOiJSUzI1NiIsImtpZCI6Ind0MjVPZ3lSX256RzNPb1E3ZGFhMnJMNi1nTW5GZGZSekJqaFVWUHU4UlEifQ.eyJpc3MiOiAiRllZVk9OQk11RU8yR2Z0TmtZS1kiLCAic3ViIjogIkZZWVZPTkJNdUVPMkdmdE5rWUtZIiwgImF1ZCI6IFsiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My9tZ2Evc3BzL29hdXRoL29hdXRoMjAvdG9rZW4iXSwgImp0aSI6ICI2a21RZnhLQU9QYXMxRUkzRVRlR2hvYW5WclJYUk9EQSIsICJleHAiOiAxNTYwNzU0MTQ1LCAiaWF0IjogMTU2MDc1MzU0NX0.NKKlXzn75wN0QjP4_Vatf4HOK9GydpIMpfnnCYc9QN2mYEmm0YSOh8ExJXKnPXIig-xpGnI6GF8ICppHy2nUYbCL3AkEVJNEShmkKqg488rCgbixNUIopKd8wxU5tMjVQZ0eEI46PZJEmySpuv4zWY7F3n2K0WiM45-02NGlpwvt-paOaRou6OhOtQoarXWzd_9QzQOQCUn7o32qrMUNJaOt49un759ZNl1DzdIJ8W4DdIxUYeR1huRGgnD90pkGvQgomiBNVSyGipSA0mS6FnonmZWKP4ThOIKZ87ZRbs56e45TIKEMsF63W-AAR4H8ydzqTwCeanxAffV6N-WU9w",
    "client_assertion_type": "urn:ietf:params:oauth:client-assertion-type:jwt-bearer",
    "code": "YFXRQPuUHRpUQISr1LIa8ygmwAmxC9",
    "grant_type": "authorization_code",
    "redirect_uri": "https://op.certification.openid.net:61164/authz_cb",
    "state": "GMQGfOmcp6AIXogm"
}
2request_urlhttps://isamfed.com:30443/mga/sps/oauth/oauth20/token
2request_http_args{'headers': {'Content-Type': 'application/x-www-form-urlencoded'}}
2requestgrant_type=authorization_code&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61164%2Fauthz_cb&code=YFXRQPuUHRpUQISr1LIa8ygmwAmxC9&state=GMQGfOmcp6AIXogm&client_assertion=eyJhbGciOiJSUzI1NiIsImtpZCI6Ind0MjVPZ3lSX256RzNPb1E3ZGFhMnJMNi1nTW5GZGZSekJqaFVWUHU4UlEifQ.eyJpc3MiOiAiRllZVk9OQk11RU8yR2Z0TmtZS1kiLCAic3ViIjogIkZZWVZPTkJNdUVPMkdmdE5rWUtZIiwgImF1ZCI6IFsiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My9tZ2Evc3BzL29hdXRoL29hdXRoMjAvdG9rZW4iXSwgImp0aSI6ICI2a21RZnhLQU9QYXMxRUkzRVRlR2hvYW5WclJYUk9EQSIsICJleHAiOiAxNTYwNzU0MTQ1LCAiaWF0IjogMTU2MDc1MzU0NX0.NKKlXzn75wN0QjP4_Vatf4HOK9GydpIMpfnnCYc9QN2mYEmm0YSOh8ExJXKnPXIig-xpGnI6GF8ICppHy2nUYbCL3AkEVJNEShmkKqg488rCgbixNUIopKd8wxU5tMjVQZ0eEI46PZJEmySpuv4zWY7F3n2K0WiM45-02NGlpwvt-paOaRou6OhOtQoarXWzd_9QzQOQCUn7o32qrMUNJaOt49un759ZNl1DzdIJ8W4DdIxUYeR1huRGgnD90pkGvQgomiBNVSyGipSA0mS6FnonmZWKP4ThOIKZ87ZRbs56e45TIKEMsF63W-AAR4H8ydzqTwCeanxAffV6N-WU9w&client_assertion_type=urn%3Aietf%3Aparams%3Aoauth%3Aclient-assertion-type%3Ajwt-bearer
2http response
url:https://isamfed.com:30443/mga/sps/oauth/oauth20/token status_code:200
2response{'access_token': 'VxPVqDkwq3jwURxP0TlZ', 'refresh_token': 'YVkNWqVTVYltWDf9Je7KdH3n5DTsxiVPrn0N0qe4', 'scope': 'openid', 'id_token': 'eyJraWQiOiJfdWhQZGVHclRXeG9iRmVIMFhiempKcFJyenAzQ0I5bmtueDF5RlYxRy0wIiwiYWxnIjoiUlMyNTYifQ.eyJydF9oYXNoIjoiSmU3V2FJU0dfanYwa0pXeDVKaVFZQSIsIm5vbmNlIjoib2NhNmIweGowbmphNTcxMSIsImlhdCI6MTU2MDc1MzU0NSwiaXNzIjoiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My90ZXN0IiwiYXRfaGFzaCI6Ik5tQS1vTTdDVng2QVFxUnJIQXBrQUEiLCJzdWIiOiJ0ZXN0dXNlciIsImV4cCI6MTU2MDc1Njk2NSwiYXVkIjoiRllZVk9OQk11RU8yR2Z0TmtZS1kifQ.eYWItIq6z1fAgnvO3xQGf0WyqhMxdVHbKVQZRQX8nuI_jJL1mQNBgHsVrJt_0cEqiD_qthZ_0afkFgXWPjBdb9tAKD6AUAzL7kMRALFEV3AVrQAAgGNu0LoKzK_eYTeiuw7Myx68DHV-mYGHIVSu2WZwNADmMvbgE48UO8DJvRtwe0VXecllga3RFU8ku9kIMId9i-f0hxf7rqNxNrCqQyz_KGzjpD1TjC7umXG1Vk_j5tLWS2XTbQzUgLe5GqUAXPpF0o9upeKDIOVFpemM9SF4KOFfNEkvOmRBJkXuz1Zq3Uds_0kimv8beNTIFxHpnfmIp5LK_o8PO74LAcw2Cg', 'token_type': 'bearer', 'expires_in': 3599}
3AccessTokenResponse
{
    "access_token": "VxPVqDkwq3jwURxP0TlZ",
    "expires_in": 3599,
    "id_token": {
        "at_hash": "NmA-oM7CVx6AQqRrHApkAA",
        "aud": [
            "FYYVONBMuEO2GftNkYKY"
        ],
        "exp": 1560756965,
        "iat": 1560753545,
        "iss": "https://isamfed.com:30443/test",
        "nonce": "oca6b0xj0nja5711",
        "rt_hash": "Je7WaISG_jv0kJWx5JiQYA",
        "sub": "testuser"
    },
    "refresh_token": "YVkNWqVTVYltWDf9Je7KdH3n5DTsxiVPrn0N0qe4",
    "scope": "openid",
    "token_type": "bearer"
}
3jws header{'kid': '_uhPdeGrTWxobFeH0XbzjJpRrzp3CB9nknx1yFV1G-0', 'alg': 'RS256'}
3phase<--<-- 5 --- UserInfo -->-->
3do_user_info_request
kwargs:{'state': 'GMQGfOmcp6AIXogm', 'method': 'GET', 'authn_method': 'bearer_header', 'ctype': 'jwt'}
3request{'body': None}
3request_urlhttps://isamfed.com:30443/mga/sps/oauth/oauth20/userinfo
3request_http_args{'headers': {'Authorization': 'Bearer VxPVqDkwq3jwURxP0TlZ'}}
6http response
url:https://isamfed.com:30443/mga/sps/oauth/oauth20/userinfo status_code:200
6OpenIDSchema
{
    "aud": "FYYVONBMuEO2GftNkYKY",
    "iss": "https://isamfed.com:30443/test",
    "sub": "testuser"
}
6OpenIDSchema
{
    "aud": "FYYVONBMuEO2GftNkYKY",
    "iss": "https://isamfed.com:30443/test",
    "sub": "testuser"
}
6jws header{'kid': '_uhPdeGrTWxobFeH0XbzjJpRrzp3CB9nknx1yFV1G-0', 'alg': 'RS256'}
6phase<--<-- 6 --- Done -->-->
6end
6assertionCheckAsymSignedUserInfo
6conditionasym-signed-userinfo: status=OK [Verifies that the UserInfo was signed with a RSA key]
6assertionVerifyResponse
6conditionverify-response: status=OK [Checks that the last response was one of a possible set of OpenID Connect Responses]
6conditionDone: status=OK

Result

PASSED