Test Info

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

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": "hsISsDSl0dnSoUa4",
    "redirect_uri": "https://op.certification.openid.net:61773/authz_cb",
    "response_type": "code id_token token",
    "scope": "openid",
    "state": "L2PhEs2bYTzagIeJ"
}
1redirect urlhttps://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=L2PhEs2bYTzagIeJ&nonce=hsISsDSl0dnSoUa4&response_type=code+id_token+token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61773%2Fauthz_cb&claims_locales=test&client_id=clientID
1redirecthttps://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=L2PhEs2bYTzagIeJ&nonce=hsISsDSl0dnSoUa4&response_type=code+id_token+token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61773%2Fauthz_cb&claims_locales=test&client_id=clientID
2http args{}
2responseURL with fragment
2responseaccess_token=kUInqDNDGmD6WJgG3Ugz&state=L2PhEs2bYTzagIeJ&expires_in=3599&token_type=bearer&code=L0JFnfPOQYq6aoxDTy23IULYReQNK6&scope=openid&id_token=eyJhbGciOiJBMTI4S1ciL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Xm5g4htj5mNyoss8p378RvAa.gR8wJn3yLgVfGonQFzzilg
2response{'access_token': 'kUInqDNDGmD6WJgG3Ugz', 'state': 'L2PhEs2bYTzagIeJ', 'expires_in': 3599, 'token_type': 'bearer', 'code': 'L0JFnfPOQYq6aoxDTy23IULYReQNK6', 'scope': 'openid', 'id_token': 'eyJhbGciOiJBMTI4S1ciLCJlbmMiOiJBMTI4Q0JDLUhTMjU2IiwiY3R5IjoiSldUIn0.BMc-oz6XJ9QtCg8jxJzbyFi2rVouvjoJKY7XmpW0MGIMpujnZ07bvg.7Us0kX-vkYSDE3Vp8KvWxw.Gd2Cb42MPRf3QcPcCfJYEsYGX2G5vYAdZXph_1lx5L2km2O-otJ2ww3ikh0JDRluTIngqdHC9k9I7mAw49DSRu4530gcxxT18uwBWTwlUhfFpfUbNwlKW0KZki_csxMMHLVJ9HtoBGP66M48-85QhXY3lrlpRk1MUXn6aTCja1FVyk4IsN45N4Y3aIG_xmrN2zg3xPhVczrcN9z2aDh8cq7FHEbBCl3WtSp0-Uf4BMXRnrX-u2WC0y5Z3WOvSAv10B01XRj6tHTrFOSgfI9FTjqvmVwoO0Jnjswm05fS76rUJbl2z_Edpzanht-gIbuxK5N5XfED5DiGe7A5ZokF9h2EQ1HeJY-5lF-dm1WVCFBJFi27pWzzTNZlyaY4JpDtsHMR_Ra8k9Y0YsTQEzzy4ZSfFUNOeCWnR0nznK6RkoH_tWtGAc5mWxcbhA1cRl89ZULbYtREgkVSGnVfOnym7L7fsx82Wu29MAEy6SuROncRTwv3SHsTmo9P2Jjx37PFwIzmBP01_s186Yw9Raz4WN3QBfV931oOUpRgi5Ht0POsIHKMXBmIdEPm4V4Q9SUpOJ3k0XyvkBphoMudWiCgkxW5SwgBD66EZdrgO4_tAHzrRQSV-PBPy1CSDju5zJpMnZyFNFg-uY5AT9haQOTosugUP-g6YcHJK_qgYmitCU_MqHU8EmGjuH8vVtXkwNqYeWWJ8goBCi266lsBsjjwFBZkhv0M2Qff60PzCCi-FxdB4gGRvtmlY5bjDQf9P8T-wlBG3_WU3dr-Dt2YInMWpfcHa_Wqqu8f1O_pkBSf6iGPZBBS6GYRx2DPfFKOcaotdXdm4hjDxJONBx4zuCPT9WZRDroScwlQU7o9CG5AC3WtKY_zoFPjXN6QMsjgXWzhK-tBNQ9w8yIAF0jqD3UrSeKfK1eWQZsyUXFEqSx-Xm5g4htj5mNyoss8p378RvAa.gR8wJn3yLgVfGonQFzzilg'}
2AuthorizationResponse
{
    "access_token": "kUInqDNDGmD6WJgG3Ugz",
    "code": "L0JFnfPOQYq6aoxDTy23IULYReQNK6",
    "expires_in": 3599,
    "id_token": {
        "at_hash": "yPs0ioJZijwi1mOHx5RJLw",
        "aud": [
            "clientID"
        ],
        "c_hash": "8UZawWLEUxzQpA8MSczr5Q",
        "exp": 1560834770,
        "iat": 1560831350,
        "iss": "https://isamfed.com:30443/test",
        "nonce": "hsISsDSl0dnSoUa4",
        "sub": "testuser"
    },
    "scope": "openid",
    "state": "L2PhEs2bYTzagIeJ",
    "token_type": "bearer"
}
2phase<--<-- 5 --- AccessToken -->-->
2requestop_args: {'state': 'L2PhEs2bYTzagIeJ'}, req_args: {'redirect_uri': 'https://op.certification.openid.net:61773/authz_cb'}
2do_access_token_request
kwargs:{'request_args': {'redirect_uri': 'https://op.certification.openid.net:61773/authz_cb', 'code': 'L0JFnfPOQYq6aoxDTy23IULYReQNK6', 'state': 'L2PhEs2bYTzagIeJ', 'grant_type': 'authorization_code', 'client_id': 'clientID'}, 'state': 'L2PhEs2bYTzagIeJ', 'authn_method': 'client_secret_basic'}
2AccessTokenRequest
{
    "code": "L0JFnfPOQYq6aoxDTy23IULYReQNK6",
    "grant_type": "authorization_code",
    "redirect_uri": "https://op.certification.openid.net:61773/authz_cb",
    "state": "L2PhEs2bYTzagIeJ"
}
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%3A61773%2Fauthz_cb&code=L0JFnfPOQYq6aoxDTy23IULYReQNK6&state=L2PhEs2bYTzagIeJ
3http response
url:https://isamfed.com:30443/mga/sps/oauth/oauth20/token status_code:200
3response{'access_token': '7NBK2bx2wksBEiZBqEYF', 'refresh_token': '6BeYO20RHxPcP4esMQ6cjIMEVe7yZgb3cyoGc0AK', 'scope': 'openid', 'id_token': 'eyJhbGciOiJBMTI4S1ciLCJlbmMiOiJBMTI4Q0JDLUhTMjU2IiwiY3R5IjoiSldUIn0.uklM3xpBwQKLqoLoIV0S4sbs9vmEc7y0oNemEtS6wtF43H27Rzbe4w.pxpRo1st9r6h-sznMBlUkw.o6d8emq5eKjGNXTaulL82RAJccK-n4T_LFl83ozyfZ8ZkcPku-biiLuykBftvPggfjZacMr13vaerMyxZNCmLVX13hBNUu6CbzzqJyZkW08HaDTfrEf-VQltD7iXYyiMMXwocdUvIlt7_YGb2X2QB2uFIDPTnjQ2b-tO-PIbwHO9jSU_ENbiYoK3G9qLa4w6DQghO3OjYRcDmzhsua8dIgLKBTJJ2_QdBCmeihMZs3YDFPLuJsqt3V3B1XQkv0anCzsWju7__rumKOq2lgIQ4V0GJzsaoMRmCKCAoHlfbWtiS8_eu-P5cUNDVPMKkqfCxEWCoVNimVMTmYI0xF3GL_lTeH02ssFM33NDkQPtJOWyk7Tr3C3UGhQV5eO4nu7RNrTvRkh8OoDiMamGGbCsqGdxk7XtOpudTzPMykxHTil36rGlAaQk3j74BMDM86N1FVfU-6Xpm4R7SVq4AFjQaE-ZeiqfZ_H1kRuGZQLlHPKMLwGhRn5DgkkGndd-GuoA3JGXvk-3dFIM8Vq4hmuUk2LbbmGvfUmAn_oAFC7q3yI2ws2LrhSPStADVQH_FebB_VBR1QKHrQZVKSBjHFAz_390zA417AnfviXs5xX6E_M9lwppmN0PMorZiq6Bkbw08IXRjGI30OkMl3IdP4h7x4nloz3oKBTOybVb0mz4uC4nadp0E1qgS9l9vLDW5UwueYZ9YqNEzhKXIaEmsM0iej1IiDn8IjTL9B7xwwr3NzMhWo5sl3aPpzuc6lhIsUccxddfvy-jQ45PrW1GC7WhSvrImJaGrKMF-sIFvkwuUJzfGoCrthRZDX0LfdNyZrDcaSww1irfMILT39H9FhuKcCz8auNPKIU2qNlRA8iGNbN5U_j8Bc2gJg-oDrcMKYW35iRmQoKqfrktcYW_UE0nzHJ9BTfKj1dlWHc32CJMlLk8O0QKdvSAivgMxl0fGdjR.Bf-WlAdbpORJNWw5D_lAMw', 'token_type': 'bearer', 'expires_in': 3599}
3AccessTokenResponse
{
    "access_token": "7NBK2bx2wksBEiZBqEYF",
    "expires_in": 3599,
    "id_token": {
        "at_hash": "KaNqQlwwpYH0d2R-BLJBFg",
        "aud": [
            "clientID"
        ],
        "exp": 1560834771,
        "iat": 1560831351,
        "iss": "https://isamfed.com:30443/test",
        "nonce": "hsISsDSl0dnSoUa4",
        "rt_hash": "97QbI6pjBrFQm9dOB4K33Q",
        "sub": "testuser"
    },
    "refresh_token": "6BeYO20RHxPcP4esMQ6cjIMEVe7yZgb3cyoGc0AK",
    "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': 'L2PhEs2bYTzagIeJ', '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 7NBK2bx2wksBEiZBqEYF'}}
3http response
url:https://isamfed.com:30443/mga/sps/oauth/oauth20/userinfo status_code:200
3OpenIDSchema
{
    "sub": "testuser"
}
3OpenIDSchema
{
    "sub": "testuser"
}
3phase<--<-- 7 --- DisplayUserInfo -->-->
3phase<--<-- 8 --- Done -->-->
3end
3assertionCheckHTTPResponse
3conditioncheck-http-response: status=OK [Checks that the HTTP response status is within the 200 or 300 range. Also does some extra JSON checks]
3conditionDone: status=OK

Result

PASSED