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:07:27Z

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 id_token token'], 'grant_types': ['authorization_code', 'implicit'], 'application_name': 'OIC test tool', 'application_type': 'web', 'redirect_uris': ['https://op.certification.openid.net:61367/authz_cb'], 'contacts': ['roland@example.com'], 'post_logout_redirect_uris': ['https://op.certification.openid.net:61367/logout'], 'url': 'https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition', 'jwks_uri': 'https://op.certification.openid.net:61367/static/jwks_61367.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:61367/static/jwks_61367.json",
    "post_logout_redirect_uris": [
        "https://op.certification.openid.net:61367/logout"
    ],
    "redirect_uris": [
        "https://op.certification.openid.net:61367/authz_cb"
    ],
    "response_types": [
        "code id_token token"
    ],
    "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": "KsTBUKHnAHf1ANcaPjcp",
    "client_id_issued_at": 1560755245,
    "client_secret": "zlk9juCpcchAYMcwaW0U",
    "client_secret_expires_at": 0,
    "contacts": [
        "roland@example.com"
    ],
    "grant_types": [
        "implicit",
        "authorization_code"
    ],
    "jwks_uri": "https://op.certification.openid.net:61367/static/jwks_61367.json",
    "post_logout_redirect_uris": [
        "https://op.certification.openid.net:61367/logout"
    ],
    "redirect_uris": [
        "https://op.certification.openid.net:61367/authz_cb"
    ],
    "registration_access_token": "9kMfAf9YdjvNDdox1fVL",
    "registration_client_uri": "https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition?client_id=KsTBUKHnAHf1ANcaPjcp",
    "response_types": [
        "code",
        "id_token",
        "token"
    ],
    "token_endpoint_auth_method": "private_key_jwt",
    "userinfo_signed_response_alg": "RS256"
}
1phase<--<-- 3 --- AsyncAuthn -->-->
1AuthorizationRequest
{
    "client_id": "KsTBUKHnAHf1ANcaPjcp",
    "nonce": "JungQJRqw4LiYqt9",
    "redirect_uri": "https://op.certification.openid.net:61367/authz_cb",
    "response_type": "code id_token token",
    "scope": "openid",
    "state": "pihhwWnA2XMSSBi0"
}
1redirect urlhttps://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=pihhwWnA2XMSSBi0&nonce=JungQJRqw4LiYqt9&response_type=code+id_token+token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61367%2Fauthz_cb&client_id=KsTBUKHnAHf1ANcaPjcp
1redirecthttps://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=pihhwWnA2XMSSBi0&nonce=JungQJRqw4LiYqt9&response_type=code+id_token+token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61367%2Fauthz_cb&client_id=KsTBUKHnAHf1ANcaPjcp
2http args{}
2responseURL with fragment
2responseaccess_token=Nqx7aRGVyQeAl2LfxuIX&state=pihhwWnA2XMSSBi0&expires_in=3599&token_type=bearer&code=vmt3YmTr8xBMdMbiveWauPOiaYJRSA&scope=openid&id_token=eyJraWQiOiJfdWhQZGVHclRXeG9iRmVIMFhiempKcFJyenAzQ0I5bmtueDF5RlYxRy0wIiwiYWxnIjoiUlMyNTYifQ.eyJub25jZSI6Ikp1bmdRSlJxdzRMaVlxdDkiLCJpYXQiOjE1NjA3NTUyNDUsImlzcyI6Imh0dHBzOi8vaXNhbWZlZC5jb206MzA0NDMvdGVzdCIsImF0X2hhc2giOiJ6cTlwT01DdHQ4MHp5OFRfNzZmUG93Iiwic3ViIjoidGVzdHVzZXIiLCJleHAiOjE1NjA3NTg2NjUsImNfaGFzaCI6Ilc3STdsdDVhQ2RIQWNJOWhoZnZWcFEiLCJhdWQiOiJLc1RCVUtIbkFIZjFBTmNhUGpjcCJ9.X0adl-kK5MHXmlK4C-qFkx4l0Dzh7HtoGHTPBRro1tywgQvlCe28Je9kvZLDLq6TVBoURIJmwpZwjaSik15lBGsqMzfWt0oqB03yCXLdqTfrnvAmZJqBDA0AogKxipewxdmRjGCKkB731H_jyMd65J_fWu73cKRgqOtlowXtAGXOPaXr_8XmK6Zo87m8vkSP-zigJNOy93efB30BV3EBToCU5nei3CVpVZcZLR1_nN2cia7VN5hRNXDtUlbp8lbwO6Mhb8Co6HOwDq5F02EaRa0wRT19dWYBaIdgyrQB0qCNJ_Qz6D6o_bX_UMUlhcP7wyaSfyd_bFVbPqci3AR8yA
2response{'access_token': 'Nqx7aRGVyQeAl2LfxuIX', 'state': 'pihhwWnA2XMSSBi0', 'expires_in': 3599, 'token_type': 'bearer', 'code': 'vmt3YmTr8xBMdMbiveWauPOiaYJRSA', 'scope': 'openid', 'id_token': 'eyJraWQiOiJfdWhQZGVHclRXeG9iRmVIMFhiempKcFJyenAzQ0I5bmtueDF5RlYxRy0wIiwiYWxnIjoiUlMyNTYifQ.eyJub25jZSI6Ikp1bmdRSlJxdzRMaVlxdDkiLCJpYXQiOjE1NjA3NTUyNDUsImlzcyI6Imh0dHBzOi8vaXNhbWZlZC5jb206MzA0NDMvdGVzdCIsImF0X2hhc2giOiJ6cTlwT01DdHQ4MHp5OFRfNzZmUG93Iiwic3ViIjoidGVzdHVzZXIiLCJleHAiOjE1NjA3NTg2NjUsImNfaGFzaCI6Ilc3STdsdDVhQ2RIQWNJOWhoZnZWcFEiLCJhdWQiOiJLc1RCVUtIbkFIZjFBTmNhUGpjcCJ9.X0adl-kK5MHXmlK4C-qFkx4l0Dzh7HtoGHTPBRro1tywgQvlCe28Je9kvZLDLq6TVBoURIJmwpZwjaSik15lBGsqMzfWt0oqB03yCXLdqTfrnvAmZJqBDA0AogKxipewxdmRjGCKkB731H_jyMd65J_fWu73cKRgqOtlowXtAGXOPaXr_8XmK6Zo87m8vkSP-zigJNOy93efB30BV3EBToCU5nei3CVpVZcZLR1_nN2cia7VN5hRNXDtUlbp8lbwO6Mhb8Co6HOwDq5F02EaRa0wRT19dWYBaIdgyrQB0qCNJ_Qz6D6o_bX_UMUlhcP7wyaSfyd_bFVbPqci3AR8yA'}
2AuthorizationResponse
{
    "access_token": "Nqx7aRGVyQeAl2LfxuIX",
    "code": "vmt3YmTr8xBMdMbiveWauPOiaYJRSA",
    "expires_in": 3599,
    "id_token": {
        "at_hash": "zq9pOMCtt80zy8T_76fPow",
        "aud": [
            "KsTBUKHnAHf1ANcaPjcp"
        ],
        "c_hash": "W7I7lt5aCdHAcI9hhfvVpQ",
        "exp": 1560758665,
        "iat": 1560755245,
        "iss": "https://isamfed.com:30443/test",
        "nonce": "JungQJRqw4LiYqt9",
        "sub": "testuser"
    },
    "scope": "openid",
    "state": "pihhwWnA2XMSSBi0",
    "token_type": "bearer"
}
2phase<--<-- 4 --- AccessToken -->-->
2requestop_args: {'state': 'pihhwWnA2XMSSBi0'}, req_args: {'redirect_uri': 'https://op.certification.openid.net:61367/authz_cb'}
2do_access_token_request
kwargs:{'request_args': {'redirect_uri': 'https://op.certification.openid.net:61367/authz_cb', 'code': 'vmt3YmTr8xBMdMbiveWauPOiaYJRSA', 'state': 'pihhwWnA2XMSSBi0', 'grant_type': 'authorization_code', 'client_id': 'KsTBUKHnAHf1ANcaPjcp'}, 'state': 'pihhwWnA2XMSSBi0', 'authn_method': 'private_key_jwt'}
2AccessTokenRequest
{
    "client_assertion": "eyJhbGciOiJSUzI1NiIsImtpZCI6Ind0MjVPZ3lSX256RzNPb1E3ZGFhMnJMNi1nTW5GZGZSekJqaFVWUHU4UlEifQ.eyJpc3MiOiAiS3NUQlVLSG5BSGYxQU5jYVBqY3AiLCAic3ViIjogIktzVEJVS0huQUhmMUFOY2FQamNwIiwgImF1ZCI6IFsiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My9tZ2Evc3BzL29hdXRoL29hdXRoMjAvdG9rZW4iXSwgImp0aSI6ICJ4RkNpVzdlZ2VFZnpNYjNJaUpkSlRIV0p6ckNKem5QVyIsICJleHAiOiAxNTYwNzU1ODQ2LCAiaWF0IjogMTU2MDc1NTI0Nn0.MBR4xU63G7zj7wKJgotkK1klliESDuz_hh0dUNOGpMkpNsYYsYCyNeTGwqFaNBhGUEJ8-7bwSLlfeVrhRgjPBx2X0ccXHXT3_8eQQUK6EFJVaySB8G_iL6jFOlBk2_IwKpWTCkCnhkJi0fX5L1qHWVGN4PzueUVcmk5bQD8HB1Jo1-Vj-mnUbdMCLndDqaXNyPfdB4WiEXO2HbHUNm39C36S_ocsOi-M3pZiwmIqwnBiK51DjfH0A1DVJCj0tAvRl6kq9YgXC3N4c1obYSEx6kn7iJOGdAug93n91HYTQ4oHyGO0uk7C7BkePX-6WkV7Bv4BchhNjKN4Y9DE_nIESA",
    "client_assertion_type": "urn:ietf:params:oauth:client-assertion-type:jwt-bearer",
    "code": "vmt3YmTr8xBMdMbiveWauPOiaYJRSA",
    "grant_type": "authorization_code",
    "redirect_uri": "https://op.certification.openid.net:61367/authz_cb",
    "state": "pihhwWnA2XMSSBi0"
}
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%3A61367%2Fauthz_cb&code=vmt3YmTr8xBMdMbiveWauPOiaYJRSA&state=pihhwWnA2XMSSBi0&client_assertion=eyJhbGciOiJSUzI1NiIsImtpZCI6Ind0MjVPZ3lSX256RzNPb1E3ZGFhMnJMNi1nTW5GZGZSekJqaFVWUHU4UlEifQ.eyJpc3MiOiAiS3NUQlVLSG5BSGYxQU5jYVBqY3AiLCAic3ViIjogIktzVEJVS0huQUhmMUFOY2FQamNwIiwgImF1ZCI6IFsiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My9tZ2Evc3BzL29hdXRoL29hdXRoMjAvdG9rZW4iXSwgImp0aSI6ICJ4RkNpVzdlZ2VFZnpNYjNJaUpkSlRIV0p6ckNKem5QVyIsICJleHAiOiAxNTYwNzU1ODQ2LCAiaWF0IjogMTU2MDc1NTI0Nn0.MBR4xU63G7zj7wKJgotkK1klliESDuz_hh0dUNOGpMkpNsYYsYCyNeTGwqFaNBhGUEJ8-7bwSLlfeVrhRgjPBx2X0ccXHXT3_8eQQUK6EFJVaySB8G_iL6jFOlBk2_IwKpWTCkCnhkJi0fX5L1qHWVGN4PzueUVcmk5bQD8HB1Jo1-Vj-mnUbdMCLndDqaXNyPfdB4WiEXO2HbHUNm39C36S_ocsOi-M3pZiwmIqwnBiK51DjfH0A1DVJCj0tAvRl6kq9YgXC3N4c1obYSEx6kn7iJOGdAug93n91HYTQ4oHyGO0uk7C7BkePX-6WkV7Bv4BchhNjKN4Y9DE_nIESA&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': 'nDXNeGfAnmiv0KrHghKM', 'refresh_token': '12V11lm5wjq7XcFpQTx6w6vQemtXBb6o69LVV2HW', 'scope': 'openid', 'id_token': 'eyJraWQiOiJfdWhQZGVHclRXeG9iRmVIMFhiempKcFJyenAzQ0I5bmtueDF5RlYxRy0wIiwiYWxnIjoiUlMyNTYifQ.eyJydF9oYXNoIjoiTjgtNzU2OU16UHdtcUFQZXM5TldCZyIsIm5vbmNlIjoiSnVuZ1FKUnF3NExpWXF0OSIsImlhdCI6MTU2MDc1NTI0NiwiaXNzIjoiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My90ZXN0IiwiYXRfaGFzaCI6Ilp6Z3g2aVNKUU96eWNEajRDZTNWV2ciLCJzdWIiOiJ0ZXN0dXNlciIsImV4cCI6MTU2MDc1ODY2NiwiYXVkIjoiS3NUQlVLSG5BSGYxQU5jYVBqY3AifQ.dBa8UDP2HBCmKs0BMzl3HdeCMBU4Vgqb8TMuqMENAD4haYUS9T2Yw5y3tlF4--O1nWgfXtl6ZO2fBpBRT8_QUL94lZxxpLSp1htGbGxlv_nLsFxq-x4sjEcY2MXlWJTxIOqEeSMbZBzlz613WS9DxOt8dhpdKpngpJ9q7RRjUQbjQnfbses0tLgqxBWBGM_xADQracVSfR35D5oLkeXrKBfDMXGbMq9TCAfmCKeYYr7EWuzwYA4dE_9b2KBNXT0zxJ7g94F16yyWaT91pJdTgsvALlooXv3G5gPvN-ehdrb8pVc3Ap8hPq3mXaPc1q9n1gqt1Fm9E5n1R_x9qeZM2Q', 'token_type': 'bearer', 'expires_in': 3599}
2AccessTokenResponse
{
    "access_token": "nDXNeGfAnmiv0KrHghKM",
    "expires_in": 3599,
    "id_token": {
        "at_hash": "Zzgx6iSJQOzycDj4Ce3VWg",
        "aud": [
            "KsTBUKHnAHf1ANcaPjcp"
        ],
        "exp": 1560758666,
        "iat": 1560755246,
        "iss": "https://isamfed.com:30443/test",
        "nonce": "JungQJRqw4LiYqt9",
        "rt_hash": "N8-7569MzPwmqAPes9NWBg",
        "sub": "testuser"
    },
    "refresh_token": "12V11lm5wjq7XcFpQTx6w6vQemtXBb6o69LVV2HW",
    "scope": "openid",
    "token_type": "bearer"
}
2jws header{'kid': '_uhPdeGrTWxobFeH0XbzjJpRrzp3CB9nknx1yFV1G-0', 'alg': 'RS256'}
2phase<--<-- 5 --- UserInfo -->-->
2do_user_info_request
kwargs:{'state': 'pihhwWnA2XMSSBi0', '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 nDXNeGfAnmiv0KrHghKM'}}
3http response
url:https://isamfed.com:30443/mga/sps/oauth/oauth20/userinfo status_code:200
3OpenIDSchema
{
    "aud": "KsTBUKHnAHf1ANcaPjcp",
    "iss": "https://isamfed.com:30443/test",
    "sub": "testuser"
}
3OpenIDSchema
{
    "aud": "KsTBUKHnAHf1ANcaPjcp",
    "iss": "https://isamfed.com:30443/test",
    "sub": "testuser"
}
3jws header{'kid': '_uhPdeGrTWxobFeH0XbzjJpRrzp3CB9nknx1yFV1G-0', 'alg': 'RS256'}
3phase<--<-- 6 --- Done -->-->
3end
3assertionCheckAsymSignedUserInfo
3conditionasym-signed-userinfo: status=OK [Verifies that the UserInfo was signed with a RSA key]
3assertionVerifyResponse
3conditionverify-response: status=OK [Checks that the last response was one of a possible set of OpenID Connect Responses]
3conditionDone: status=OK

Result

PASSED