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-17T07:02:42Z

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_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:61240/authz_cb'], 'contacts': ['roland@example.com'], 'post_logout_redirect_uris': ['https://op.certification.openid.net:61240/logout'], 'url': 'https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition', 'jwks_uri': 'https://op.certification.openid.net:61240/static/jwks_61240.json', 'token_endpoint_auth_method': 'private_key_jwt', 'userinfo_signed_response_alg': 'RS256'}
0RegistrationRequest
{
    "application_type": "web",
    "contacts": [
        "roland@example.com"
    ],
    "grant_types": [
        "authorization_code",
        "implicit"
    ],
    "jwks_uri": "https://op.certification.openid.net:61240/static/jwks_61240.json",
    "post_logout_redirect_uris": [
        "https://op.certification.openid.net:61240/logout"
    ],
    "redirect_uris": [
        "https://op.certification.openid.net:61240/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": "OgnP8KeMIvNqwYo6Y5TI",
    "client_id_issued_at": 1560754958,
    "client_secret": "ZbXK5h15HlWcFRaG49qh",
    "client_secret_expires_at": 0,
    "contacts": [
        "roland@example.com"
    ],
    "grant_types": [
        "authorization_code",
        "implicit"
    ],
    "jwks_uri": "https://op.certification.openid.net:61240/static/jwks_61240.json",
    "post_logout_redirect_uris": [
        "https://op.certification.openid.net:61240/logout"
    ],
    "redirect_uris": [
        "https://op.certification.openid.net:61240/authz_cb"
    ],
    "registration_access_token": "afHsjJe8dYm7GV0wA2zV",
    "registration_client_uri": "https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition?client_id=OgnP8KeMIvNqwYo6Y5TI",
    "response_types": [
        "code",
        "token"
    ],
    "token_endpoint_auth_method": "private_key_jwt",
    "userinfo_signed_response_alg": "RS256"
}
0phase<--<-- 3 --- AsyncAuthn -->-->
0AuthorizationRequest
{
    "client_id": "OgnP8KeMIvNqwYo6Y5TI",
    "nonce": "n2gG80TKOtAevdcm",
    "redirect_uri": "https://op.certification.openid.net:61240/authz_cb",
    "response_type": "code token",
    "scope": "openid",
    "state": "cQufXjxCnB8lWjnp"
}
0redirect urlhttps://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=cQufXjxCnB8lWjnp&nonce=n2gG80TKOtAevdcm&response_type=code+token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61240%2Fauthz_cb&client_id=OgnP8KeMIvNqwYo6Y5TI
0redirecthttps://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=cQufXjxCnB8lWjnp&nonce=n2gG80TKOtAevdcm&response_type=code+token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61240%2Fauthz_cb&client_id=OgnP8KeMIvNqwYo6Y5TI
1http args{}
2responseURL with fragment
2responseaccess_token=myYbVRW1UzKpP5tLhROJ&state=cQufXjxCnB8lWjnp&expires_in=3599&token_type=bearer&code=hl0a8UrO4hdivDRkBQRcA0byFG7pHx&scope=openid
2response{'access_token': 'myYbVRW1UzKpP5tLhROJ', 'state': 'cQufXjxCnB8lWjnp', 'expires_in': 3599, 'token_type': 'bearer', 'code': 'hl0a8UrO4hdivDRkBQRcA0byFG7pHx', 'scope': 'openid'}
2AuthorizationResponse
{
    "access_token": "myYbVRW1UzKpP5tLhROJ",
    "code": "hl0a8UrO4hdivDRkBQRcA0byFG7pHx",
    "expires_in": 3599,
    "scope": "openid",
    "state": "cQufXjxCnB8lWjnp",
    "token_type": "bearer"
}
2phase<--<-- 4 --- AccessToken -->-->
2requestop_args: {'state': 'cQufXjxCnB8lWjnp'}, req_args: {'redirect_uri': 'https://op.certification.openid.net:61240/authz_cb'}
2do_access_token_request
kwargs:{'request_args': {'redirect_uri': 'https://op.certification.openid.net:61240/authz_cb', 'code': 'hl0a8UrO4hdivDRkBQRcA0byFG7pHx', 'state': 'cQufXjxCnB8lWjnp', 'grant_type': 'authorization_code', 'client_id': 'OgnP8KeMIvNqwYo6Y5TI'}, 'state': 'cQufXjxCnB8lWjnp', 'authn_method': 'private_key_jwt'}
2AccessTokenRequest
{
    "client_assertion": "eyJhbGciOiJSUzI1NiIsImtpZCI6Ind0MjVPZ3lSX256RzNPb1E3ZGFhMnJMNi1nTW5GZGZSekJqaFVWUHU4UlEifQ.eyJpc3MiOiAiT2duUDhLZU1Jdk5xd1lvNlk1VEkiLCAic3ViIjogIk9nblA4S2VNSXZOcXdZbzZZNVRJIiwgImF1ZCI6IFsiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My9tZ2Evc3BzL29hdXRoL29hdXRoMjAvdG9rZW4iXSwgImp0aSI6ICJZRm5NMXI4Z0JOaEhiYmNFalpvS3F6MGNhb0NYVGZCRSIsICJleHAiOiAxNTYwNzU1NTYwLCAiaWF0IjogMTU2MDc1NDk2MH0.u7J1YDwqXatehtgrHQCCcJgq9poyR20Z2RMmvwAUdBLVzLs6MdZyvgsRmprRhW6vyneBMAyAFd6RXUuo8VvGk-aAeOpwDngEDXRzE66L5S6tm5iZI8qNykjw6XROCNwyHTJTSuoxPJEPfIvBwVDlbk55nOuA5sGI8wlgjogrwCvEjcR_cGLn1hvIqE9-wZ7_yG9-7Gi7iLRoNk9KYsxKhOpMrrcwvFoaWtPdvoVlv4i1vzL7D0N263UJmev2I1YCyRTEzrwIBma9tHoGCCzb6pqwfmMwgyL5LXa2oWD2xH0Yjw5spfl5j2wt34S3x190iVn3MqgiAFuDgocsLUJGiw",
    "client_assertion_type": "urn:ietf:params:oauth:client-assertion-type:jwt-bearer",
    "code": "hl0a8UrO4hdivDRkBQRcA0byFG7pHx",
    "grant_type": "authorization_code",
    "redirect_uri": "https://op.certification.openid.net:61240/authz_cb",
    "state": "cQufXjxCnB8lWjnp"
}
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%3A61240%2Fauthz_cb&code=hl0a8UrO4hdivDRkBQRcA0byFG7pHx&state=cQufXjxCnB8lWjnp&client_assertion=eyJhbGciOiJSUzI1NiIsImtpZCI6Ind0MjVPZ3lSX256RzNPb1E3ZGFhMnJMNi1nTW5GZGZSekJqaFVWUHU4UlEifQ.eyJpc3MiOiAiT2duUDhLZU1Jdk5xd1lvNlk1VEkiLCAic3ViIjogIk9nblA4S2VNSXZOcXdZbzZZNVRJIiwgImF1ZCI6IFsiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My9tZ2Evc3BzL29hdXRoL29hdXRoMjAvdG9rZW4iXSwgImp0aSI6ICJZRm5NMXI4Z0JOaEhiYmNFalpvS3F6MGNhb0NYVGZCRSIsICJleHAiOiAxNTYwNzU1NTYwLCAiaWF0IjogMTU2MDc1NDk2MH0.u7J1YDwqXatehtgrHQCCcJgq9poyR20Z2RMmvwAUdBLVzLs6MdZyvgsRmprRhW6vyneBMAyAFd6RXUuo8VvGk-aAeOpwDngEDXRzE66L5S6tm5iZI8qNykjw6XROCNwyHTJTSuoxPJEPfIvBwVDlbk55nOuA5sGI8wlgjogrwCvEjcR_cGLn1hvIqE9-wZ7_yG9-7Gi7iLRoNk9KYsxKhOpMrrcwvFoaWtPdvoVlv4i1vzL7D0N263UJmev2I1YCyRTEzrwIBma9tHoGCCzb6pqwfmMwgyL5LXa2oWD2xH0Yjw5spfl5j2wt34S3x190iVn3MqgiAFuDgocsLUJGiw&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': '3CAQG5zm4Zq2tdAUwycz', 'refresh_token': 'XzzbxF0wfaRRbRBTwOMcdz7ogaulD0AWdXwRMAga', 'scope': 'openid', 'id_token': 'eyJraWQiOiJfdWhQZGVHclRXeG9iRmVIMFhiempKcFJyenAzQ0I5bmtueDF5RlYxRy0wIiwiYWxnIjoiUlMyNTYifQ.eyJydF9oYXNoIjoiV3VuQWpMc3A5VGYyNko2dUl0NS1LQSIsIm5vbmNlIjoibjJnRzgwVEtPdEFldmRjbSIsImlhdCI6MTU2MDc1NDk2MCwiaXNzIjoiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My90ZXN0IiwiYXRfaGFzaCI6IlZIaEt1QkhiV2JQdUxVTWs0bnlsTHciLCJzdWIiOiJ0ZXN0dXNlciIsImV4cCI6MTU2MDc1ODM4MCwiYXVkIjoiT2duUDhLZU1Jdk5xd1lvNlk1VEkifQ.t-Fsrm3p1B-KmZ_0BmuAEGI1zhK6i3b32VPGYkfWdgxf80jIvfM_bZKy-bQKWTtVgTGAgLKe8HjNiO0gTcpr6CtqyuxJfK9NFinAke8Es75AKI0NNTTH9VNDlpOyquKDOlZTNaN2b5JcR8aBHDoh48ZwKDFwBn91BcXTlAKSx2vS9G8cXPW-vV9eselJNhLFEKPuoj9jboBqJCB_iW6xdhpffGG6zyrciieJBg3_RM-1Mv01zLVwsxwxDj692-NnEOgn_JqEhdITa8n5C2Sppow3CVkj-V42R0qkvGjk826XW6JvTkzWppJD4ZlM4e7Jga4yy07FW7VJ84JbKDJCyA', 'token_type': 'bearer', 'expires_in': 3599}
3AccessTokenResponse
{
    "access_token": "3CAQG5zm4Zq2tdAUwycz",
    "expires_in": 3599,
    "id_token": {
        "at_hash": "VHhKuBHbWbPuLUMk4nylLw",
        "aud": [
            "OgnP8KeMIvNqwYo6Y5TI"
        ],
        "exp": 1560758380,
        "iat": 1560754960,
        "iss": "https://isamfed.com:30443/test",
        "nonce": "n2gG80TKOtAevdcm",
        "rt_hash": "WunAjLsp9Tf26J6uIt5-KA",
        "sub": "testuser"
    },
    "refresh_token": "XzzbxF0wfaRRbRBTwOMcdz7ogaulD0AWdXwRMAga",
    "scope": "openid",
    "token_type": "bearer"
}
3jws header{'kid': '_uhPdeGrTWxobFeH0XbzjJpRrzp3CB9nknx1yFV1G-0', 'alg': 'RS256'}
3phase<--<-- 5 --- UserInfo -->-->
3do_user_info_request
kwargs:{'state': 'cQufXjxCnB8lWjnp', '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 3CAQG5zm4Zq2tdAUwycz'}}
4http response
url:https://isamfed.com:30443/mga/sps/oauth/oauth20/userinfo status_code:200
4OpenIDSchema
{
    "aud": "OgnP8KeMIvNqwYo6Y5TI",
    "iss": "https://isamfed.com:30443/test",
    "sub": "testuser"
}
4OpenIDSchema
{
    "aud": "OgnP8KeMIvNqwYo6Y5TI",
    "iss": "https://isamfed.com:30443/test",
    "sub": "testuser"
}
4jws header{'kid': '_uhPdeGrTWxobFeH0XbzjJpRrzp3CB9nknx1yFV1G-0', 'alg': 'RS256'}
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