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:15:35Z

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': ['id_token token'], 'grant_types': ['implicit'], 'application_name': 'OIC test tool', 'application_type': 'web', 'redirect_uris': ['https://op.certification.openid.net:61585/authz_cb?foo=bar'], 'contacts': ['roland@example.com'], 'post_logout_redirect_uris': ['https://op.certification.openid.net:61585/logout'], 'url': 'https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition', 'jwks_uri': 'https://op.certification.openid.net:61585/static/jwks_61585.json', 'token_endpoint_auth_method': 'private_key_jwt'}
0RegistrationRequest
{
    "application_type": "web",
    "contacts": [
        "roland@example.com"
    ],
    "grant_types": [
        "implicit"
    ],
    "jwks_uri": "https://op.certification.openid.net:61585/static/jwks_61585.json",
    "post_logout_redirect_uris": [
        "https://op.certification.openid.net:61585/logout"
    ],
    "redirect_uris": [
        "https://op.certification.openid.net:61585/authz_cb?foo=bar"
    ],
    "response_types": [
        "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": "pehBAN7Z3TZXq4XgvLVE",
    "client_id_issued_at": 1560784533,
    "client_secret": "ft4nuqmF1BDKiPq77tKG",
    "client_secret_expires_at": 0,
    "contacts": [
        "roland@example.com"
    ],
    "grant_types": [
        "implicit"
    ],
    "jwks_uri": "https://op.certification.openid.net:61585/static/jwks_61585.json",
    "post_logout_redirect_uris": [
        "https://op.certification.openid.net:61585/logout"
    ],
    "redirect_uris": [
        "https://op.certification.openid.net:61585/authz_cb?foo=bar"
    ],
    "registration_access_token": "PIPAJSGLGZ1EYwFIkjZn",
    "registration_client_uri": "https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition?client_id=pehBAN7Z3TZXq4XgvLVE",
    "response_types": [
        "id_token",
        "token"
    ],
    "token_endpoint_auth_method": "private_key_jwt"
}
1phase<--<-- 3 --- AsyncAuthn -->-->
1AuthorizationRequest
{
    "client_id": "pehBAN7Z3TZXq4XgvLVE",
    "nonce": "P7HwVF7O0Vz2f7tt",
    "redirect_uri": "https://op.certification.openid.net:61585/authz_cb?foo=bar",
    "response_type": "id_token token",
    "scope": "openid",
    "state": "bJkrop8g6Eeeeaom"
}
1redirect urlhttps://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=bJkrop8g6Eeeeaom&nonce=P7HwVF7O0Vz2f7tt&response_type=id_token+token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61585%2Fauthz_cb%3Ffoo%3Dbar&client_id=pehBAN7Z3TZXq4XgvLVE
1redirecthttps://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=bJkrop8g6Eeeeaom&nonce=P7HwVF7O0Vz2f7tt&response_type=id_token+token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61585%2Fauthz_cb%3Ffoo%3Dbar&client_id=pehBAN7Z3TZXq4XgvLVE
2http args{'foo': 'bar'}
2responseURL with fragment
2responseaccess_token=rBrpIaj4l6v3sBejAzTR&state=bJkrop8g6Eeeeaom&expires_in=3599&token_type=bearer&scope=openid&id_token=eyJhbGciO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o2vG4w-_gBSyv1lDLbue8RahcjWy5773LoaP41Ju4VCm4djKxfKe2F69TN_4JRHtNm5re3BxLN5cZpsw3tOw_yfUmMoOkDEpalBce7JMT2j_2zHMtsinyA1QYfgetU2p3VbbpGQr2SPDJQ9SGUQTy9IXh3boLdOUH1WO8d0AvqlAalxgtZvyYNa1Fc-StsznxAYyBi0wQ3NPPCNZjwiy1H1rBcvEI2fLfAle6Nj0X7swxAQXKB1cbxq3odw-f2IXw4kapu3QENgb_FdLQfIthlom310g33Gg6xaMcLI0Pg01wbmFFMN5li_uajOZAacuQ2VQWW-oPts4F9yGsqwgLThMJeSr5VqhYoyRiT6cUm0TCI8VZqrtTN96yy21-Zd4DAkhFdtZ3Y_FBGbH5TuZok5osmTbS68dsVGT6xHY3pRxVzegSA_2HDRu7LUJ6No1UzUcjiS1KKJz2080ZHZJodZqyYTCzJ-jRC5Tu3K0mKP5iN4WdqYm-1qxnmS4ZnZqypH5DUEL6XiLXEL-AA3O9fuz2rhBW8pl6udwW8zCS3zqytNb6sjyUK-8yJtFgExQWLyodw-Da5JsaKfDkhhlvI3Gmvm0voxgEJ3c8_-CS9GIKXBxYXRDcJoDonvIzTbgWVEI39aoCDvQS4ZmWfSB7xdYviSbHQjQMl-OEAtFy2TN1FyshgQoyhaa7Bi5Immuj4-5WROTsPfdDAXfHXzsr02VabzR0cymRSRpKZ8HJPxOQP4dEp9Vtbq6dTc21-RDmCe4ETrmbPm_DpGpAnT4IR25Crke1Iq-FtUqV9ehvG3OCSK6O8Xhnd3w.kg0SrV5lk-m1Z_lkEqyJjw'}
3AuthorizationResponse
{
    "access_token": "rBrpIaj4l6v3sBejAzTR",
    "expires_in": 3599,
    "id_token": {
        "at_hash": "ixKS1k7ndbFg8BmnqYPuGQ",
        "aud": [
            "pehBAN7Z3TZXq4XgvLVE"
        ],
        "exp": 1560787953,
        "iat": 1560784533,
        "iss": "https://isamfed.com:30443/test",
        "nonce": "P7HwVF7O0Vz2f7tt",
        "sub": "testuser"
    },
    "scope": "openid",
    "state": "bJkrop8g6Eeeeaom",
    "token_type": "bearer"
}
3phase<--<-- 4 --- Done -->-->
3end
3assertionCheckQueryPart
3conditioncheck-query-part: status=OK [Check that a query part send in the Authorization Request is returned in the Authorization response.]
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