Test Info

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

Conditions


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'], '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'}
0RegistrationRequest
{
    "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": "McrXoa8jPpx1sFo3elUt",
    "client_id_issued_at": 1560753550,
    "client_secret": "0Rdwv9XHJeBVoAWwll8d",
    "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": "4J96Y6gOVxsq7hOpXqlW",
    "registration_client_uri": "https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition?client_id=McrXoa8jPpx1sFo3elUt",
    "response_types": [
        "code"
    ],
    "token_endpoint_auth_method": "private_key_jwt",
    "userinfo_signed_response_alg": "RS256"
}
1phase<--<-- 3 --- AsyncAuthn -->-->
1AuthorizationRequest
{
    "client_id": "McrXoa8jPpx1sFo3elUt",
    "nonce": "8C27MWsHU77MLVDD",
    "redirect_uri": "https://op.certification.openid.net:61164/authz_cb",
    "response_type": "code",
    "scope": "openid",
    "state": "A23PMulmM6CUscnP"
}
1redirect urlhttps://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=A23PMulmM6CUscnP&nonce=8C27MWsHU77MLVDD&response_type=code&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61164%2Fauthz_cb&client_id=McrXoa8jPpx1sFo3elUt
1redirecthttps://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=A23PMulmM6CUscnP&nonce=8C27MWsHU77MLVDD&response_type=code&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61164%2Fauthz_cb&client_id=McrXoa8jPpx1sFo3elUt
2responseResponse URL with query part
2response{'state': 'A23PMulmM6CUscnP', 'code': 'XUFvTRvfTc0CshVdkq47LCpxryxkD7'}
2response{'state': 'A23PMulmM6CUscnP', 'code': 'XUFvTRvfTc0CshVdkq47LCpxryxkD7'}
2AuthorizationResponse
{
    "code": "XUFvTRvfTc0CshVdkq47LCpxryxkD7",
    "state": "A23PMulmM6CUscnP"
}
2phase<--<-- 4 --- AccessToken -->-->
2requestop_args: {'state': 'A23PMulmM6CUscnP'}, 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': 'XUFvTRvfTc0CshVdkq47LCpxryxkD7', 'state': 'A23PMulmM6CUscnP', 'grant_type': 'authorization_code', 'client_id': 'McrXoa8jPpx1sFo3elUt'}, 'state': 'A23PMulmM6CUscnP', 'authn_method': 'private_key_jwt'}
2AccessTokenRequest
{
    "client_assertion": "eyJhbGciOiJSUzI1NiIsImtpZCI6Ind0MjVPZ3lSX256RzNPb1E3ZGFhMnJMNi1nTW5GZGZSekJqaFVWUHU4UlEifQ.eyJpc3MiOiAiTWNyWG9hOGpQcHgxc0ZvM2VsVXQiLCAic3ViIjogIk1jclhvYThqUHB4MXNGbzNlbFV0IiwgImF1ZCI6IFsiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My9tZ2Evc3BzL29hdXRoL29hdXRoMjAvdG9rZW4iXSwgImp0aSI6ICI3elFkaDlwUE9rWEZQRTQySGdvRndqRW5QRVU5c3lPTSIsICJleHAiOiAxNTYwNzU0MTUyLCAiaWF0IjogMTU2MDc1MzU1Mn0.p3Dr5d01QG1v1NlVSUcalGjSnnmek5MtHFLf7AdN9HQ9bhPjq36foXOUk9yeyMbAEjD48p0qftIhzQ7ta4ola_DqdhFTagBA6hpAvO_kfMtNQE95lm40oPhFEM68cE9ALLHcO7quu0P_pPWzXgMbJdQlRU55-93eMednlCHxdo8Ji2_BFUVxuD80BKLc1Tc-e6UwCp_aRqHr1c40EG5jED5ULdcXj78UhBlCBxwfDQrkSpxVSpQmzO1YVm_pIu0HaRKTuz4PZQQsO4VjeL1hOlkfdEWpoRquUtMEMMvelUOmw51yraDBRgCCiIJhV5LQZMxF0No5e2Ez2AicJz2aNQ",
    "client_assertion_type": "urn:ietf:params:oauth:client-assertion-type:jwt-bearer",
    "code": "XUFvTRvfTc0CshVdkq47LCpxryxkD7",
    "grant_type": "authorization_code",
    "redirect_uri": "https://op.certification.openid.net:61164/authz_cb",
    "state": "A23PMulmM6CUscnP"
}
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=XUFvTRvfTc0CshVdkq47LCpxryxkD7&state=A23PMulmM6CUscnP&client_assertion=eyJhbGciOiJSUzI1NiIsImtpZCI6Ind0MjVPZ3lSX256RzNPb1E3ZGFhMnJMNi1nTW5GZGZSekJqaFVWUHU4UlEifQ.eyJpc3MiOiAiTWNyWG9hOGpQcHgxc0ZvM2VsVXQiLCAic3ViIjogIk1jclhvYThqUHB4MXNGbzNlbFV0IiwgImF1ZCI6IFsiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My9tZ2Evc3BzL29hdXRoL29hdXRoMjAvdG9rZW4iXSwgImp0aSI6ICI3elFkaDlwUE9rWEZQRTQySGdvRndqRW5QRVU5c3lPTSIsICJleHAiOiAxNTYwNzU0MTUyLCAiaWF0IjogMTU2MDc1MzU1Mn0.p3Dr5d01QG1v1NlVSUcalGjSnnmek5MtHFLf7AdN9HQ9bhPjq36foXOUk9yeyMbAEjD48p0qftIhzQ7ta4ola_DqdhFTagBA6hpAvO_kfMtNQE95lm40oPhFEM68cE9ALLHcO7quu0P_pPWzXgMbJdQlRU55-93eMednlCHxdo8Ji2_BFUVxuD80BKLc1Tc-e6UwCp_aRqHr1c40EG5jED5ULdcXj78UhBlCBxwfDQrkSpxVSpQmzO1YVm_pIu0HaRKTuz4PZQQsO4VjeL1hOlkfdEWpoRquUtMEMMvelUOmw51yraDBRgCCiIJhV5LQZMxF0No5e2Ez2AicJz2aNQ&client_assertion_type=urn%3Aietf%3Aparams%3Aoauth%3Aclient-assertion-type%3Ajwt-bearer
3http response
url:https://isamfed.com:30443/mga/sps/oauth/oauth20/token status_code:200
3response{'access_token': 'RexbAI9yuuXg5A5SRAIF', 'refresh_token': 'Dfk9QbRBQiYz2A9F7OslxWOybc9TlzoWuPiW9OXx', 'scope': 'openid', 'id_token': 'eyJraWQiOiJfdWhQZGVHclRXeG9iRmVIMFhiempKcFJyenAzQ0I5bmtueDF5RlYxRy0wIiwiYWxnIjoiUlMyNTYifQ.eyJydF9oYXNoIjoiMlI5MVpMRmpkWXFrcmZXa0FMdjdydyIsIm5vbmNlIjoiOEMyN01Xc0hVNzdNTFZERCIsImlhdCI6MTU2MDc1MzU1MiwiaXNzIjoiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My90ZXN0IiwiYXRfaGFzaCI6IndNMVhOcWlzLWNUc1Z4Y3RKbFVaOFEiLCJzdWIiOiJ0ZXN0dXNlciIsImV4cCI6MTU2MDc1Njk3MiwiYXVkIjoiTWNyWG9hOGpQcHgxc0ZvM2VsVXQifQ.C763tdYUeAwGY7Mn7yVJs6CoxfaVBdXaBuheQ41iO2Q3t3u_UJetDrYAslEqZE9VxRxIWMLLak2zTOQIAUfW2_RrcpTHnhKlR8gkePPb0ENOt8h4PJlaJVy4zXCkJtEqL6F6-7SoVaeLi8SBzVBuYUfoubOC0A6moSWdmC7pu3zaDC-Ud_Wku2l_l0X6KN7sg_FmT5-tERDZ6etZa-mPwfgyRSE_3Ww1gRhJ5BpBqcnfusep8XBObV9lPfXnQDrzI6oLjstgjMjBUoNWo7SeSXZutI00HWKO4HbGBtD0E_3w14R82Z81mOTBCgU83zD5VUaUG3dmh7MbHjGl1zBOxg', 'token_type': 'bearer', 'expires_in': 3599}
3AccessTokenResponse
{
    "access_token": "RexbAI9yuuXg5A5SRAIF",
    "expires_in": 3599,
    "id_token": {
        "at_hash": "wM1XNqis-cTsVxctJlUZ8Q",
        "aud": [
            "McrXoa8jPpx1sFo3elUt"
        ],
        "exp": 1560756972,
        "iat": 1560753552,
        "iss": "https://isamfed.com:30443/test",
        "nonce": "8C27MWsHU77MLVDD",
        "rt_hash": "2R91ZLFjdYqkrfWkALv7rw",
        "sub": "testuser"
    },
    "refresh_token": "Dfk9QbRBQiYz2A9F7OslxWOybc9TlzoWuPiW9OXx",
    "scope": "openid",
    "token_type": "bearer"
}
3jws header{'kid': '_uhPdeGrTWxobFeH0XbzjJpRrzp3CB9nknx1yFV1G-0', 'alg': 'RS256'}
3phase<--<-- 5 --- UserInfo -->-->
3do_user_info_request
kwargs:{'state': 'A23PMulmM6CUscnP', '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 RexbAI9yuuXg5A5SRAIF'}}
4http response
url:https://isamfed.com:30443/mga/sps/oauth/oauth20/userinfo status_code:200
4OpenIDSchema
{
    "aud": "McrXoa8jPpx1sFo3elUt",
    "iss": "https://isamfed.com:30443/test",
    "sub": "testuser"
}
4OpenIDSchema
{
    "aud": "McrXoa8jPpx1sFo3elUt",
    "iss": "https://isamfed.com:30443/test",
    "sub": "testuser"
}
4jws header{'kid': '_uhPdeGrTWxobFeH0XbzjJpRrzp3CB9nknx1yFV1G-0', 'alg': 'RS256'}
4phase<--<-- 6 --- Done -->-->
4end
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