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-17T15:09:56Z

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'}
0http response
url:https://isamfed.com:30443/test/.well-known/openid-configuration status_code:200
0ProviderConfigurationResponse
{
    "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_encryption_alg_values_supported": [
        "RSA-OAEP-256"
    ],
    "id_token_encryption_enc_values_supported": [
        "A128CBC-HS256"
    ],
    "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"
}
0phase<--<-- 2 --- Registration -->-->
0register
kwargs:{'response_types': ['code token'], 'grant_types': ['authorization_code', 'implicit'], 'application_name': 'OIC test tool', 'application_type': 'web', 'redirect_uris': ['https://op.certification.openid.net:61707/authz_cb'], 'contacts': ['roland@example.com'], 'post_logout_redirect_uris': ['https://op.certification.openid.net:61707/logout'], 'url': 'https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition', 'jwks_uri': 'https://op.certification.openid.net:61707/static/jwks_61707.json', 'token_endpoint_auth_method': 'private_key_jwt', 'userinfo_signed_response_alg': 'RS256'}
0RegistrationRequest
{
    "application_type": "web",
    "contacts": [
        "roland@example.com"
    ],
    "grant_types": [
        "implicit",
        "authorization_code"
    ],
    "jwks_uri": "https://op.certification.openid.net:61707/static/jwks_61707.json",
    "post_logout_redirect_uris": [
        "https://op.certification.openid.net:61707/logout"
    ],
    "redirect_uris": [
        "https://op.certification.openid.net:61707/authz_cb"
    ],
    "response_types": [
        "code token"
    ],
    "token_endpoint_auth_method": "private_key_jwt",
    "userinfo_signed_response_alg": "RS256"
}
0http response
url:https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition status_code:200
0RegistrationResponse
{
    "application_type": "web",
    "client_id": "gPIyEivE3IWx4ljOpsTA",
    "client_id_issued_at": 1560784192,
    "client_secret": "CjkwVRoTe07eQQgDcOYn",
    "client_secret_expires_at": 0,
    "contacts": [
        "roland@example.com"
    ],
    "grant_types": [
        "implicit",
        "authorization_code"
    ],
    "jwks_uri": "https://op.certification.openid.net:61707/static/jwks_61707.json",
    "post_logout_redirect_uris": [
        "https://op.certification.openid.net:61707/logout"
    ],
    "redirect_uris": [
        "https://op.certification.openid.net:61707/authz_cb"
    ],
    "registration_access_token": "QPjFSCrdfr4loHxDotV8",
    "registration_client_uri": "https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition?client_id=gPIyEivE3IWx4ljOpsTA",
    "response_types": [
        "code",
        "token"
    ],
    "token_endpoint_auth_method": "private_key_jwt",
    "userinfo_signed_response_alg": "RS256"
}
0phase<--<-- 3 --- AsyncAuthn -->-->
0AuthorizationRequest
{
    "client_id": "gPIyEivE3IWx4ljOpsTA",
    "nonce": "QD01Wx6zRprADEql",
    "redirect_uri": "https://op.certification.openid.net:61707/authz_cb",
    "response_type": "code token",
    "scope": "openid",
    "state": "yGwqK0KG4fT7P1at"
}
0redirect urlhttps://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=yGwqK0KG4fT7P1at&nonce=QD01Wx6zRprADEql&response_type=code+token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61707%2Fauthz_cb&client_id=gPIyEivE3IWx4ljOpsTA
0redirecthttps://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=yGwqK0KG4fT7P1at&nonce=QD01Wx6zRprADEql&response_type=code+token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61707%2Fauthz_cb&client_id=gPIyEivE3IWx4ljOpsTA
1http args{}
1responseURL with fragment
1responseaccess_token=taEuZCKCJt9nsqjyV7Pp&state=yGwqK0KG4fT7P1at&expires_in=3599&token_type=bearer&code=Om1iNMrnhgYlpWknrQUaaQufUd7yWJ&scope=openid
1response{'access_token': 'taEuZCKCJt9nsqjyV7Pp', 'state': 'yGwqK0KG4fT7P1at', 'expires_in': 3599, 'token_type': 'bearer', 'code': 'Om1iNMrnhgYlpWknrQUaaQufUd7yWJ', 'scope': 'openid'}
1AuthorizationResponse
{
    "access_token": "taEuZCKCJt9nsqjyV7Pp",
    "code": "Om1iNMrnhgYlpWknrQUaaQufUd7yWJ",
    "expires_in": 3599,
    "scope": "openid",
    "state": "yGwqK0KG4fT7P1at",
    "token_type": "bearer"
}
1phase<--<-- 4 --- AccessToken -->-->
1requestop_args: {'state': 'yGwqK0KG4fT7P1at'}, req_args: {'redirect_uri': 'https://op.certification.openid.net:61707/authz_cb'}
1do_access_token_request
kwargs:{'request_args': {'redirect_uri': 'https://op.certification.openid.net:61707/authz_cb', 'code': 'Om1iNMrnhgYlpWknrQUaaQufUd7yWJ', 'state': 'yGwqK0KG4fT7P1at', 'grant_type': 'authorization_code', 'client_id': 'gPIyEivE3IWx4ljOpsTA'}, 'state': 'yGwqK0KG4fT7P1at', 'authn_method': 'private_key_jwt'}
1AccessTokenRequest
{
    "client_assertion": "eyJhbGciOiJSUzI1NiIsImtpZCI6Ind0MjVPZ3lSX256RzNPb1E3ZGFhMnJMNi1nTW5GZGZSekJqaFVWUHU4UlEifQ.eyJpc3MiOiAiZ1BJeUVpdkUzSVd4NGxqT3BzVEEiLCAic3ViIjogImdQSXlFaXZFM0lXeDRsak9wc1RBIiwgImF1ZCI6IFsiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My9tZ2Evc3BzL29hdXRoL29hdXRoMjAvdG9rZW4iXSwgImp0aSI6ICI4a1FabVdQYUl4UnA5Q1N3MVhueWVRR1FvQ0dBeWN5YiIsICJleHAiOiAxNTYwNzg0NzkzLCAiaWF0IjogMTU2MDc4NDE5M30.pPr-yhP09NPovCLnWVaXRmmfaO8ctW38UVJCbsGN0rLtoCXhcHz-aH9oO3sJ_E1F2F5fDPc9aV24RlwOYMQt24X78ObOIxzzOJ_JaA1j4nV8fi_l9LzHr4iPLocI0ra2tCCMv6o-MUlyPGtpLLkellFCLTp5RK332tjTm3BMvSopQis84D6rv-7RNiAMNfhqnNrr1CgIfJVn41pxup8HawVpcCXOrgqCSz8IvxeoCQ6yGJHP5FmJjg3lhroIVtxFzi6gLhXM76mQrmfeOUznJXXAHN-MOgTyDmqst9vAJqeMVKpwVq5J8HfYaAJEaD9qlsOdVCjL7uCigFf4wjEQIQ",
    "client_assertion_type": "urn:ietf:params:oauth:client-assertion-type:jwt-bearer",
    "code": "Om1iNMrnhgYlpWknrQUaaQufUd7yWJ",
    "grant_type": "authorization_code",
    "redirect_uri": "https://op.certification.openid.net:61707/authz_cb",
    "state": "yGwqK0KG4fT7P1at"
}
1request_urlhttps://isamfed.com:30443/mga/sps/oauth/oauth20/token
1request_http_args{'headers': {'Content-Type': 'application/x-www-form-urlencoded'}}
1requestgrant_type=authorization_code&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61707%2Fauthz_cb&code=Om1iNMrnhgYlpWknrQUaaQufUd7yWJ&state=yGwqK0KG4fT7P1at&client_assertion=eyJhbGciOiJSUzI1NiIsImtpZCI6Ind0MjVPZ3lSX256RzNPb1E3ZGFhMnJMNi1nTW5GZGZSekJqaFVWUHU4UlEifQ.eyJpc3MiOiAiZ1BJeUVpdkUzSVd4NGxqT3BzVEEiLCAic3ViIjogImdQSXlFaXZFM0lXeDRsak9wc1RBIiwgImF1ZCI6IFsiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My9tZ2Evc3BzL29hdXRoL29hdXRoMjAvdG9rZW4iXSwgImp0aSI6ICI4a1FabVdQYUl4UnA5Q1N3MVhueWVRR1FvQ0dBeWN5YiIsICJleHAiOiAxNTYwNzg0NzkzLCAiaWF0IjogMTU2MDc4NDE5M30.pPr-yhP09NPovCLnWVaXRmmfaO8ctW38UVJCbsGN0rLtoCXhcHz-aH9oO3sJ_E1F2F5fDPc9aV24RlwOYMQt24X78ObOIxzzOJ_JaA1j4nV8fi_l9LzHr4iPLocI0ra2tCCMv6o-MUlyPGtpLLkellFCLTp5RK332tjTm3BMvSopQis84D6rv-7RNiAMNfhqnNrr1CgIfJVn41pxup8HawVpcCXOrgqCSz8IvxeoCQ6yGJHP5FmJjg3lhroIVtxFzi6gLhXM76mQrmfeOUznJXXAHN-MOgTyDmqst9vAJqeMVKpwVq5J8HfYaAJEaD9qlsOdVCjL7uCigFf4wjEQIQ&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': 'aMH23PW66Ch7COyk2P5n', 'refresh_token': 'VLtfvkvWQUcwlHhwuOQB9pXuE4VPpeouvScutTMu', 'scope': 'openid', 'id_token': 'eyJhbGciOiJSU0EtT0FFUC0yNTYiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2Iiwia2lkIjoiZ3RINHYzWXIyUXFMcmVCU3owQnlRUTh2a2Y4ZUZvMUtJaXQzcy0zQmJ3dyIsImN0eSI6IkpXVCJ9.SwdX1SRll0Jn0-clnlsGvqhfc-egDeNKVjVUdLzz0a7ofkTKxZgqwpb__9ZwVyDyjK9BiJq9fWbTOwylhvDOM_sProQRnUsigo63KJ22s-LIy66uoM34CPlvUHAWDNa9yvc2Mbx6ar32CfrJb4w0-oacqSPgM1apAwwj9B3mffhI9SdVVkE9UOPUhe_5CavTiKsppyQJOXo8gsqlBsQOBk1QON7wXRi_lw_9mxdZSA3tPoHaMvXJyTEJQmDRxeVpB9cw25i_e5c37isrV9s9NKFgC_8jFbY4ZDiPfXuphXVraqKczbgqn2j-G_z-kO6EVjrV7U7mhA2cumjKi8CKwQ.QijUk8sm8nkop0AIDwh1hQ.jgoUkJTbxlt0ttwHwhgnztBFG1KiAE8GnD61wQ7pP4_v13FHVJ3Wxhf6bC8suNyxBw0vEJ2tZikgV-JK2m2TY6WGkApmh-shTJo4vQCGE2NhSCEGlKnlo45wSd-6yLAEK13AuKkZsZGehdIziPypwvCihZMkeN29tAABknNUABMRRwnDXY5iYV8lSbXgADBA7SiTGWEbEq-116Yzxcob0fxcvmEffN_hMqge7Ofge83I0oi6JMkhyqzPtMLPwMMD7KjZINDm5ufmcLn7SCneqhtCVTp_90oSRi1zBqOFxZOBOdLcFO_go5SHEXOeXSk3mLbTmaqgaKb2kvyMDbdbEiy0QL7pka0OU5WC-KdkhTtiRbPUnkJS86Xf_LjtS7bmhB886vhx5Ts99hzCZdyZUg81Cxkg-t-g7KFvRzoc2JaHeig22AWh_KatPOM5D9-ho4J_CSpvkuR106FaKObiYwl_WdOjnDxCvQfKPkKZ_N3EbrZDHKZzRvKZu-kQu5cPSxAWhQw_6tmaXrli7634MOFg_8eT0v2ebw6tMGsKcLACo5JV3PZhei3uFcrnyvGT04Pfc-QpLbvaq6oS30vWNHsh4_wDm1KuU2cE48TjkJXsUzg_xgNo7_SZKgcAt-wuppuG8VG72hJ2M9ja9t4SIMJk5y2M4iQ4s1mLjEHZEB7IszS2QnfLG_AiFwrt7WKhfm5-6lBM2j3eWeB3q_L8SS9aYHayO84_nHOdSGoHK_K9hm5Gtebc9iDQPH8aUio-afockHVTR11tVNw00q2SUWt5WRICNZKOoT2SvWnhhMiCB1Dy5BI0Uo19Bou72B59QYIDsAuTRm5ZRMl68fsp6p2fW572XJfiaoKWh2JDKl5FovWZnGhIoOSi2pYX52VYMiTZLc-bVoZv7RZgAPgx8KTdZB-lj6x2dkthQybJ_l-0P-gKdjbJHGlH54UamRu_yfNVUFAyNMOX2jpZG6HMIg.rAlHm1nw-0g2IlBVuXjivw', 'token_type': 'bearer', 'expires_in': 3599}
2AccessTokenResponse
{
    "access_token": "aMH23PW66Ch7COyk2P5n",
    "expires_in": 3599,
    "id_token": {
        "at_hash": "wCgu39t0DsXYgnXxdpYWhw",
        "aud": [
            "gPIyEivE3IWx4ljOpsTA"
        ],
        "exp": 1560787614,
        "iat": 1560784194,
        "iss": "https://isamfed.com:30443/test",
        "nonce": "QD01Wx6zRprADEql",
        "rt_hash": "EDV2E90fVU65fFRgvRZtPA",
        "sub": "testuser"
    },
    "refresh_token": "VLtfvkvWQUcwlHhwuOQB9pXuE4VPpeouvScutTMu",
    "scope": "openid",
    "token_type": "bearer"
}
2jws header{'kid': '_uhPdeGrTWxobFeH0XbzjJpRrzp3CB9nknx1yFV1G-0', 'alg': 'RS256'}
2jwe header{'alg': 'RSA-OAEP-256', 'enc': 'A128CBC-HS256', 'kid': 'gtH4v3Yr2QqLreBSz0ByQQ8vkf8eFo1KIit3s-3Bbww', 'cty': 'JWT'}
2phase<--<-- 5 --- UserInfo -->-->
2do_user_info_request
kwargs:{'state': 'yGwqK0KG4fT7P1at', 'method': 'GET', 'authn_method': 'bearer_header', 'ctype': 'jwt'}
2request{'body': None}
2request_urlhttps://isamfed.com:30443/mga/sps/oauth/oauth20/userinfo
2request_http_args{'headers': {'Authorization': 'Bearer aMH23PW66Ch7COyk2P5n'}}
4http response
url:https://isamfed.com:30443/mga/sps/oauth/oauth20/userinfo status_code:200
4OpenIDSchema
{
    "aud": "gPIyEivE3IWx4ljOpsTA",
    "iss": "https://isamfed.com:30443/test",
    "sub": "testuser"
}
4OpenIDSchema
{
    "aud": "gPIyEivE3IWx4ljOpsTA",
    "iss": "https://isamfed.com:30443/test",
    "sub": "testuser"
}
4jws header{'kid': '_uhPdeGrTWxobFeH0XbzjJpRrzp3CB9nknx1yFV1G-0', 'alg': 'RS256'}
4jwe header{'alg': 'RSA-OAEP-256', 'enc': 'A128CBC-HS256', 'kid': 'gtH4v3Yr2QqLreBSz0ByQQ8vkf8eFo1KIit3s-3Bbww', 'cty': 'JWT'}
4phase<--<-- 6 --- Done -->-->
4end
4assertionCheckAsymSignedUserInfo
4conditionasym-signed-userinfo: status=OK [Verifies that the UserInfo was signed with a RSA key]
4assertionVerifyResponse
4conditionverify-response: status=OK [Checks that the last response was one of a possible set of OpenID Connect Responses]
4conditionDone: status=OK

Result

PASSED