Test Info

Issuerhttps://isamfed.com:30443/test
Profile[]
Test IDOP-Req-claims_locales
Test descriptionProviding claims_locales
Timestamp2019-06-18T04:19:18Z

Conditions


check-http-response: status=OK [Checks that the HTTP response status is within the 200 or 300 range. Also does some extra JSON checks]
Done: status=OK

Trace Output

0phase<--<-- 0 --- Note -->-->
1phase<--<-- 1 --- Webfinger -->-->
1not expected to doWebFinger
1phase<--<-- 2 --- Discovery -->-->
1provider_config
kwargs:{'issuer': 'https://isamfed.com:30443/test'}
1http response
url:https://isamfed.com:30443/test/.well-known/openid-configuration status_code:200
1ProviderConfigurationResponse
{
    "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": [
        "A128KW"
    ],
    "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"
}
1phase<--<-- 3 --- Registration -->-->
1not expected to doDynamic registration
1phase<--<-- 4 --- AsyncAuthn -->-->
1AuthorizationRequest
{
    "claims_locales": "test",
    "client_id": "clientID",
    "nonce": "sEXh7xL5cIov8cfd",
    "redirect_uri": "https://op.certification.openid.net:61772/authz_cb",
    "response_type": "code id_token",
    "scope": "openid",
    "state": "3iVfgG95r2Xy5NZT"
}
1redirect urlhttps://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=3iVfgG95r2Xy5NZT&nonce=sEXh7xL5cIov8cfd&response_type=code+id_token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61772%2Fauthz_cb&claims_locales=test&client_id=clientID
1redirecthttps://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=3iVfgG95r2Xy5NZT&nonce=sEXh7xL5cIov8cfd&response_type=code+id_token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61772%2Fauthz_cb&claims_locales=test&client_id=clientID
2http args{}
2responseURL with fragment
2responsestate=3iVfgG95r2Xy5NZT&code=48SjAvqRaq1hrHEWv05zCjX8MG8nof&id_token=eyJhbGciOiJBMTI4S1ciLCJlbmMiOiJBMTI4Q0JDLUhTMjU2IiwiY3R5IjoiSldUIn0.5K4GTV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05zCjX8MG8nof",
    "id_token": {
        "aud": [
            "clientID"
        ],
        "c_hash": "eADFQSqrRixl4-X14FpqWA",
        "exp": 1560834975,
        "iat": 1560831555,
        "iss": "https://isamfed.com:30443/test",
        "nonce": "sEXh7xL5cIov8cfd",
        "sub": "testuser"
    },
    "state": "3iVfgG95r2Xy5NZT"
}
2phase<--<-- 5 --- AccessToken -->-->
2requestop_args: {'state': '3iVfgG95r2Xy5NZT'}, req_args: {'redirect_uri': 'https://op.certification.openid.net:61772/authz_cb'}
2do_access_token_request
kwargs:{'request_args': {'redirect_uri': 'https://op.certification.openid.net:61772/authz_cb', 'code': '48SjAvqRaq1hrHEWv05zCjX8MG8nof', 'state': '3iVfgG95r2Xy5NZT', 'grant_type': 'authorization_code', 'client_id': 'clientID'}, 'state': '3iVfgG95r2Xy5NZT', 'authn_method': 'client_secret_basic'}
2AccessTokenRequest
{
    "code": "48SjAvqRaq1hrHEWv05zCjX8MG8nof",
    "grant_type": "authorization_code",
    "redirect_uri": "https://op.certification.openid.net:61772/authz_cb",
    "state": "3iVfgG95r2Xy5NZT"
}
2request_urlhttps://isamfed.com:30443/mga/sps/oauth/oauth20/token
2request_http_args{'headers': {'Authorization': 'Basic Y2xpZW50SUQ6Y2xpZW50U2VjcmV0', 'Content-Type': 'application/x-www-form-urlencoded'}}
2requestgrant_type=authorization_code&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61772%2Fauthz_cb&code=48SjAvqRaq1hrHEWv05zCjX8MG8nof&state=3iVfgG95r2Xy5NZT
3http response
url:https://isamfed.com:30443/mga/sps/oauth/oauth20/token status_code:200
3response{'access_token': 'I29CT4UU9hoZiLAL7EMu', 'refresh_token': 'RaRNgQdmZcpAJF8wQZLbhxb8ebyKQ5109FepVJk5', 'scope': 'openid', 'id_token': 'eyJhbGciOiJBMTI4S1ciLCJlbmMiOiJBMTI4Q0JDLUhTMjU2IiwiY3R5IjoiSldUIn0.cfRvT9WwxmDsbkjC4E7FZqR_lHc_KuFZ7WkGsIJjYL0O3JLH_YhlIw.Iilq11uuHV7lJvQf5PCx4g.x9I5Od9QUhqdFPaD1WJHucp-MX0IIgfTbIjCBt04X_EeSv5F8B4MeZ_fu0N3NegpRokNrij9PdfjT6oiB60Htn3_rol_erg1AUYKv6oJkL-lXRq0hS4eG1sQI-HW5QHTVrnvZ_hm7TfbqWkJlxdssGBmxL0u0ChrEO-r_rhz3IukRBxh9Y0gKuu88iBnzMRjXQbfvEKWhADuzFUYycf0rc_pI8H99XbRndOuaFBz__c4WoviS2A1THk8i4196jTG0yC0VqRmMGojZaY86s1ZcLIS3WXf40QUwALung3KwnXZN487ebZogfF8_oRyt_jDYa3wD8XGkretMxHI0sDPtbSq8F1jFKjTMnD_rxJdIgWGbh7xxdvpEJP--RgkDUeNImhrf0nM_K7b8NeuJ97w7te9le1QcQZI9rIj--m0KK57nAI5w1sThHlMnkuwJsKJHYT0Po9VkWjoicTPjlGOgXTvQ_mu7ajBIAUu4pbXg4wC7fEjHNV4tD5wTQ1YaSkdAtXtF2usFT6s8sgLK6RDJMIGU2mZqhbvCvTxF1OdHOm0JauWH3_dCNyS6NCp5EHhQOfGuvorDo_cF0LGBYWSUsl1AiSAaay1tJTnEdtVkQhYVvUXgSQ3yJgLxDvwfG4q80_x0wHQwV7D1x6wdw5CME6l2_Vzvfq9oSHxa1shQhY2s-6zEOVZHxw3RrJZaM1Ch28_Z3_UVYIbMnYviLLHpcBd_RX98pimSU6RP1j5-MAApkcigJzPJLrju1FUX-G_amBBqt-DlvO5K1_apLCpXcc7RoewtIYv_4C7kmILI9hrwjf1hSdwDjiGOUQq7pNSdBLDXdyQF40qg8YMdSr_kt8O1N418YowD1aXDlJmYXclWsCdA9TJES4m_1fmsQ8LGl2lMi41mNT57aaXbg63Ezr10hUBTSS-iNZBk9RU_ZJ54drBulv48gsAykU0_iSN.okocHAa72Kz__TrW1YhA_w', 'token_type': 'bearer', 'expires_in': 3599}
3AccessTokenResponse
{
    "access_token": "I29CT4UU9hoZiLAL7EMu",
    "expires_in": 3599,
    "id_token": {
        "at_hash": "osbZgu45EZtDQ_kuuXB8-A",
        "aud": [
            "clientID"
        ],
        "exp": 1560834977,
        "iat": 1560831557,
        "iss": "https://isamfed.com:30443/test",
        "nonce": "sEXh7xL5cIov8cfd",
        "rt_hash": "5zAZTIvBTr_nVBrVC_Ci0w",
        "sub": "testuser"
    },
    "refresh_token": "RaRNgQdmZcpAJF8wQZLbhxb8ebyKQ5109FepVJk5",
    "scope": "openid",
    "token_type": "bearer"
}
3jws header{'kid': '_uhPdeGrTWxobFeH0XbzjJpRrzp3CB9nknx1yFV1G-0', 'alg': 'RS256'}
3jwe header{'alg': 'A128KW', 'enc': 'A128CBC-HS256', 'cty': 'JWT'}
3phase<--<-- 6 --- UserInfo -->-->
3do_user_info_request
kwargs:{'state': '3iVfgG95r2Xy5NZT', 'method': 'GET', 'authn_method': 'bearer_header'}
3request{'body': None}
3request_urlhttps://isamfed.com:30443/mga/sps/oauth/oauth20/userinfo
3request_http_args{'headers': {'Authorization': 'Bearer I29CT4UU9hoZiLAL7EMu'}}
4http response
url:https://isamfed.com:30443/mga/sps/oauth/oauth20/userinfo status_code:200
4OpenIDSchema
{
    "sub": "testuser"
}
4OpenIDSchema
{
    "sub": "testuser"
}
4phase<--<-- 7 --- DisplayUserInfo -->-->
4phase<--<-- 8 --- Done -->-->
4end
4assertionCheckHTTPResponse
4conditioncheck-http-response: status=OK [Checks that the HTTP response status is within the 200 or 300 range. Also does some extra JSON checks]
4conditionDone: status=OK

Result

PASSED