Test Info

Issuerhttps://isamfed.com:30443/test
Profile[]
Test IDOP-redirect_uri-Query-OK
Test descriptionRequest with a redirect_uri with a query component when a redirect_uri with the same query component is registered
Timestamp2019-06-17T15:05:55Z

Conditions


check-query-part: status=OK [Check that a query part send in the Authorization Request is returned in the Authorization response.]
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 id_token token'], 'grant_types': ['authorization_code', 'implicit'], 'application_name': 'OIC test tool', 'application_type': 'web', 'redirect_uris': ['https://op.certification.openid.net:61737/authz_cb?foo=bar'], 'contacts': ['roland@example.com'], 'post_logout_redirect_uris': ['https://op.certification.openid.net:61737/logout'], 'url': 'https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition', 'jwks_uri': 'https://op.certification.openid.net:61737/static/jwks_61737.json', 'token_endpoint_auth_method': 'private_key_jwt'}
0RegistrationRequest
{
    "application_type": "web",
    "contacts": [
        "roland@example.com"
    ],
    "grant_types": [
        "authorization_code",
        "implicit"
    ],
    "jwks_uri": "https://op.certification.openid.net:61737/static/jwks_61737.json",
    "post_logout_redirect_uris": [
        "https://op.certification.openid.net:61737/logout"
    ],
    "redirect_uris": [
        "https://op.certification.openid.net:61737/authz_cb?foo=bar"
    ],
    "response_types": [
        "code id_token token"
    ],
    "token_endpoint_auth_method": "private_key_jwt"
}
1http response
url:https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition status_code:200
1RegistrationResponse
{
    "application_type": "web",
    "client_id": "tcNoO2WUcuJx2CXaFzez",
    "client_id_issued_at": 1560783954,
    "client_secret": "SzpMTwWzaXDVT346ITK0",
    "client_secret_expires_at": 0,
    "contacts": [
        "roland@example.com"
    ],
    "grant_types": [
        "authorization_code",
        "implicit"
    ],
    "jwks_uri": "https://op.certification.openid.net:61737/static/jwks_61737.json",
    "post_logout_redirect_uris": [
        "https://op.certification.openid.net:61737/logout"
    ],
    "redirect_uris": [
        "https://op.certification.openid.net:61737/authz_cb?foo=bar"
    ],
    "registration_access_token": "qy6ZFZayihVEFXAsmHbN",
    "registration_client_uri": "https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition?client_id=tcNoO2WUcuJx2CXaFzez",
    "response_types": [
        "code",
        "id_token",
        "token"
    ],
    "token_endpoint_auth_method": "private_key_jwt"
}
1phase<--<-- 3 --- AsyncAuthn -->-->
1AuthorizationRequest
{
    "client_id": "tcNoO2WUcuJx2CXaFzez",
    "nonce": "tsUB0QdGXJ5kZzq7",
    "redirect_uri": "https://op.certification.openid.net:61737/authz_cb?foo=bar",
    "response_type": "code id_token token",
    "scope": "openid",
    "state": "YlIEW5xbp3YoMQAx"
}
1redirect urlhttps://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=YlIEW5xbp3YoMQAx&nonce=tsUB0QdGXJ5kZzq7&response_type=code+id_token+token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61737%2Fauthz_cb%3Ffoo%3Dbar&client_id=tcNoO2WUcuJx2CXaFzez
1redirecthttps://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=YlIEW5xbp3YoMQAx&nonce=tsUB0QdGXJ5kZzq7&response_type=code+id_token+token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61737%2Fauthz_cb%3Ffoo%3Dbar&client_id=tcNoO2WUcuJx2CXaFzez
2http args{'foo': 'bar'}
2responseURL with fragment
2responseaccess_token=tDNG2QRZk16wG413T5tL&state=YlIEW5xbp3YoMQAx&expires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OLykYLjeH9q4_dPtJUMyuCffaGpAZ5yYOTwA27shEUIxgQg5liOYUSGH-xbLNc1-jp5hIhmjmXDQeB7Md_xTG7qAsmvH33clU2HtxORGonjgyyihEKjxDnUkhLl1xdKT88e8QBWSxxrJSSUnn2BnYcP2MekjK3r0cINoYK0ZkSOZQdMXluLyZ1Nlh0jIAiV05MSfdlclWP3zYVQLrQLw5PIfzZQUtPkS4n8rme0qKNjilSrcNz50EuFqIfastijS1rrIdEFs8z5vi-2Q5nbfiKId_2ep4BaNTlpnjnOcPfzvcMF02foyZELMjjUgZuP8W7-klS1ZWHaEJo_jghO399lL2JnQAFfQW4OUXGHUgfGGhOXxR6VRb5B6fm6B7NW-BJYU7g6pD94TpQ2VR1Pc_2cWc2huykBwI1x6YYeR73u1R5CKM__XFQuWk2jz6zf_cY94lR8oM5HsEoakqCc7TBbNinhk84u7oQ.hBsUH6HtPMhjPusC5kUDXQ
2response{'access_token': 'tDNG2QRZk16wG413T5tL', 'state': 'YlIEW5xbp3YoMQAx', 'expires_in': 3599, 'token_type': 'bearer', 'code': 'BahQ79LYeUMUWdvsQXGSIeVDeNDJrb', 'scope': 'openid', 'id_token': 'eyJhbGciOiJSU0EtT0FFUC0yNTYiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2Iiwia2lkIjoiZ3RINHYzWXIyUXFMcmVCU3owQnlRUTh2a2Y4ZUZvMUtJaXQzcy0zQmJ3dyIsImN0eSI6IkpXVCJ9.ZoaZiDgsMCF09EENbQN-tk0EtX4MblyT81vQx1RWOPF6VjhgQ3I9FxeVOjJC_P6aap2ZLo2bfMKDBfqgoj93xeOPMI-lW1cBHXi8HbwG4O8YSsE1BkZBxOyGOXSraGaZSssSjGe6QE7kFby1YGNVQBD3LuFOeMk3Q8WpcQqI3O6ZMu3isYg3BbM7Cxo3_qI4_hDc0VpYIKJQqqN4RF_C_fRwvt1ccd1J6IKbmxJ-07ncaOZc-0gNVA4pY0tR4yfHxs3N1R-bVq8waPpO16DL6gr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}
2AuthorizationResponse
{
    "access_token": "tDNG2QRZk16wG413T5tL",
    "code": "BahQ79LYeUMUWdvsQXGSIeVDeNDJrb",
    "expires_in": 3599,
    "id_token": {
        "at_hash": "G2933BXI_RFjfvcWx2DPAA",
        "aud": [
            "tcNoO2WUcuJx2CXaFzez"
        ],
        "c_hash": "6hKE_rbSnjoxLIa7YddTCA",
        "exp": 1560787374,
        "iat": 1560783954,
        "iss": "https://isamfed.com:30443/test",
        "nonce": "tsUB0QdGXJ5kZzq7",
        "sub": "testuser"
    },
    "scope": "openid",
    "state": "YlIEW5xbp3YoMQAx",
    "token_type": "bearer"
}
2phase<--<-- 4 --- Done -->-->
2end
2assertionCheckQueryPart
2conditioncheck-query-part: status=OK [Check that a query part send in the Authorization Request is returned in the Authorization response.]
2assertionVerifyResponse
2conditionverify-response: status=OK [Checks that the last response was one of a possible set of OpenID Connect Responses]
2conditionDone: status=OK

Result

PASSED