Test Info

Issuerhttps://isamfed.com:30443/test
Profile[]
Test IDOP-Req-claims_locales
Test descriptionProviding claims_locales
Timestamp2019-06-17T15:45: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 -->-->
0phase<--<-- 1 --- Webfinger -->-->
0not expected to doWebFinger
0phase<--<-- 2 --- Discovery -->-->
0provider_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": [
        "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"
}
1phase<--<-- 3 --- Registration -->-->
1register
kwargs:{'response_types': ['code'], 'grant_types': ['authorization_code'], 'application_name': 'OIC test tool', 'application_type': 'web', 'redirect_uris': ['https://op.certification.openid.net:61583/authz_cb'], 'contacts': ['roland@example.com'], 'post_logout_redirect_uris': ['https://op.certification.openid.net:61583/logout'], 'url': 'https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition', 'jwks_uri': 'https://op.certification.openid.net:61583/static/jwks_61583.json', 'token_endpoint_auth_method': 'private_key_jwt'}
1RegistrationRequest
{
    "application_type": "web",
    "contacts": [
        "roland@example.com"
    ],
    "grant_types": [
        "authorization_code"
    ],
    "jwks_uri": "https://op.certification.openid.net:61583/static/jwks_61583.json",
    "post_logout_redirect_uris": [
        "https://op.certification.openid.net:61583/logout"
    ],
    "redirect_uris": [
        "https://op.certification.openid.net:61583/authz_cb"
    ],
    "response_types": [
        "code"
    ],
    "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": "ou1exeQ8RJP5ct7L1Lvd",
    "client_id_issued_at": 1560786316,
    "client_secret": "s31O5txoPKroRp5W0e1i",
    "client_secret_expires_at": 0,
    "contacts": [
        "roland@example.com"
    ],
    "grant_types": [
        "authorization_code"
    ],
    "jwks_uri": "https://op.certification.openid.net:61583/static/jwks_61583.json",
    "post_logout_redirect_uris": [
        "https://op.certification.openid.net:61583/logout"
    ],
    "redirect_uris": [
        "https://op.certification.openid.net:61583/authz_cb"
    ],
    "registration_access_token": "CYMhScjEnYnj2aChllOs",
    "registration_client_uri": "https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition?client_id=ou1exeQ8RJP5ct7L1Lvd",
    "response_types": [
        "code"
    ],
    "token_endpoint_auth_method": "private_key_jwt"
}
1phase<--<-- 4 --- AsyncAuthn -->-->
1AuthorizationRequest
{
    "claims_locales": "test",
    "client_id": "ou1exeQ8RJP5ct7L1Lvd",
    "nonce": "O0meVHhIuqM8fVs9",
    "redirect_uri": "https://op.certification.openid.net:61583/authz_cb",
    "response_type": "code",
    "scope": "openid",
    "state": "lm1XIUpq6XKcZX14"
}
1redirect urlhttps://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=lm1XIUpq6XKcZX14&nonce=O0meVHhIuqM8fVs9&response_type=code&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61583%2Fauthz_cb&claims_locales=test&client_id=ou1exeQ8RJP5ct7L1Lvd
1redirecthttps://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=lm1XIUpq6XKcZX14&nonce=O0meVHhIuqM8fVs9&response_type=code&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61583%2Fauthz_cb&claims_locales=test&client_id=ou1exeQ8RJP5ct7L1Lvd
1responseResponse URL with query part
1response{'state': 'lm1XIUpq6XKcZX14', 'code': '1nCvqH1mHCQtb2qlc7qKqbvr0df8eg'}
1response{'state': 'lm1XIUpq6XKcZX14', 'code': '1nCvqH1mHCQtb2qlc7qKqbvr0df8eg'}
1AuthorizationResponse
{
    "code": "1nCvqH1mHCQtb2qlc7qKqbvr0df8eg",
    "state": "lm1XIUpq6XKcZX14"
}
1phase<--<-- 5 --- AccessToken -->-->
1requestop_args: {'state': 'lm1XIUpq6XKcZX14'}, req_args: {'redirect_uri': 'https://op.certification.openid.net:61583/authz_cb'}
1do_access_token_request
kwargs:{'request_args': {'redirect_uri': 'https://op.certification.openid.net:61583/authz_cb', 'code': '1nCvqH1mHCQtb2qlc7qKqbvr0df8eg', 'state': 'lm1XIUpq6XKcZX14', 'grant_type': 'authorization_code', 'client_id': 'ou1exeQ8RJP5ct7L1Lvd'}, 'state': 'lm1XIUpq6XKcZX14', 'authn_method': 'private_key_jwt'}
1AccessTokenRequest
{
    "client_assertion": "eyJhbGciOiJSUzI1NiIsImtpZCI6Ind0MjVPZ3lSX256RzNPb1E3ZGFhMnJMNi1nTW5GZGZSekJqaFVWUHU4UlEifQ.eyJpc3MiOiAib3UxZXhlUThSSlA1Y3Q3TDFMdmQiLCAic3ViIjogIm91MWV4ZVE4UkpQNWN0N0wxTHZkIiwgImF1ZCI6IFsiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My9tZ2Evc3BzL29hdXRoL29hdXRoMjAvdG9rZW4iXSwgImp0aSI6ICJWNW5TOHlsbHRpT2Fselk3dFloS0p3ODBNazV5NWhJYSIsICJleHAiOiAxNTYwNzg2OTE2LCAiaWF0IjogMTU2MDc4NjMxNn0.W7_78jGX_SB8o00Zkd9_-szW3RSChoEsbBu7_AeeffMmn7gH6doSOzoQmhNG3Rxzx1m7LMBLmV8iDfZX8hHuhWTYL98IHWAylKFwHaM9W4JeI3gGRsPkiIpDgBD8vJbp_fRuKFGgMVYdmJF4GbJ-01Ixn1V0rA7UCf-lZyVaFENmkk4MIDi1WuGqLev1k6z0_vLaStEbFTiRq9IoQgd6xPPp8EZgr3-arr67BjIz2OqmvdMlitbXWS32AQ1kc2A_2nsG_y24H7ZC3A7Jz68T2-Ot4nfTGHZ5JpAp6uiVzTobyyA-Nzwo8Z4TUF2ITUu2nlSK9fvSKBq6jjnrbKEmOA",
    "client_assertion_type": "urn:ietf:params:oauth:client-assertion-type:jwt-bearer",
    "code": "1nCvqH1mHCQtb2qlc7qKqbvr0df8eg",
    "grant_type": "authorization_code",
    "redirect_uri": "https://op.certification.openid.net:61583/authz_cb",
    "state": "lm1XIUpq6XKcZX14"
}
1request_urlhttps://isamfed.com:30443/mga/sps/oauth/oauth20/token
1request_http_args{'headers': {'Content-Type': 'application/x-www-form-urlencoded'}}
1requestgrant_type=authorization_code&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61583%2Fauthz_cb&code=1nCvqH1mHCQtb2qlc7qKqbvr0df8eg&state=lm1XIUpq6XKcZX14&client_assertion=eyJhbGciOiJSUzI1NiIsImtpZCI6Ind0MjVPZ3lSX256RzNPb1E3ZGFhMnJMNi1nTW5GZGZSekJqaFVWUHU4UlEifQ.eyJpc3MiOiAib3UxZXhlUThSSlA1Y3Q3TDFMdmQiLCAic3ViIjogIm91MWV4ZVE4UkpQNWN0N0wxTHZkIiwgImF1ZCI6IFsiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My9tZ2Evc3BzL29hdXRoL29hdXRoMjAvdG9rZW4iXSwgImp0aSI6ICJWNW5TOHlsbHRpT2Fselk3dFloS0p3ODBNazV5NWhJYSIsICJleHAiOiAxNTYwNzg2OTE2LCAiaWF0IjogMTU2MDc4NjMxNn0.W7_78jGX_SB8o00Zkd9_-szW3RSChoEsbBu7_AeeffMmn7gH6doSOzoQmhNG3Rxzx1m7LMBLmV8iDfZX8hHuhWTYL98IHWAylKFwHaM9W4JeI3gGRsPkiIpDgBD8vJbp_fRuKFGgMVYdmJF4GbJ-01Ixn1V0rA7UCf-lZyVaFENmkk4MIDi1WuGqLev1k6z0_vLaStEbFTiRq9IoQgd6xPPp8EZgr3-arr67BjIz2OqmvdMlitbXWS32AQ1kc2A_2nsG_y24H7ZC3A7Jz68T2-Ot4nfTGHZ5JpAp6uiVzTobyyA-Nzwo8Z4TUF2ITUu2nlSK9fvSKBq6jjnrbKEmOA&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': '1zRsIjdmweU0XlfLmXhE', 'refresh_token': 'eK59UPrpFgRBnhXePynOPB6QBshSZyRRaWcmS59L', 'scope': 'openid', 'id_token': 'eyJhbGciOiJSU0EtT0FFUC0yNTYiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2Iiwia2lkIjoiZ3RINHYzWXIyUXFMcmVCU3owQnlRUTh2a2Y4ZUZvMUtJaXQzcy0zQmJ3dyIsImN0eSI6IkpXVCJ9.Xc7QifJ4hua0XDKgF4ulfF4bHdhKUeOHH0a7Lw0idF4CtDohq3LtbxuWuXo1JqjzCCsZov7X775YekaIyn5kCwCuo0fTZcCZPhhf7KCalrAV_VC7XbduSO2m6qxIIR7YYw4DGyR1OYbGOwNCtvFJd72F67qkXW0gm9ypDtU9ClNJ9ROs_n6bz6s9BF-JxFKwGe4wWvwItZKHsmiefpQGm4FkSUjgAeLha33Q9NEuBQ2W18d6GpFglq6qqvJW9slzKc5xaCMtXbd6_XBjYGNubR3tjfY2na6-vnATtxehbmf4uxddvvY4DoGyjR5Fu0RZYYsfDlIKM4cHyLRbNEGLng.MLOPDFYojYh_eXH7XkqjXA.g7ap3akfvVV-9i9g2eTG5glzqOIgP3ae4giZ1LMc6GxzKJQUfv8ui5z892KHrpu1U7hWAhjTvpWjCAKW8vfQQxPK7hXNX3Q-r5lR1IHDJFQNilRVgrA1r3XGxDChiqvjwFDEolwi0GOczlCjjcwTfo3RCQEam6rQFKnnWu1FExc7ZRWQJUCcP6JZ5KRim5RgO5hModJ4FCM3Rll83uQEwtJFyuT9z_lUKGsn822ns-mo0yULNimQcFuBwc6pnBNKZYe40gCD22Yq0y_wZm2ZqNh4RJu8563ftN4ElYbFSm36Y9Rk3v59MwtpZj4mi_ONRD-Bm0QfwCo--QcWy-DY5gp4v_RtGraqok1e-baKDJRVFs9ytbjtJWRkjkljzwIsPnqbVDnm0UlkIT59hMY92hHs39mH3cEmmAHa9l0VsyqAL0W9OPGKM5HeUPnXbDWvAD-poKjYCc8CcUUti-6kJX0bLTbee5HYHj1qGkkWBzrz_IFLzO8An5yiXfjrpCU-knJdous-RiYSYAHYCJhzQVQL5oSNN9G2u67KTSZdViHCLJMUgPwqlnGvqdP8fmlFPbFR8WnL7t5I59m6dbCU_76jcXhqlP6SGxFtuKpLVqdNJ6asAjtl5luZJR_Oo8T7YgpsHc46vJDVgg2-O6QekCZU38X9ICcfKiWWOFjjKfkiHH3qBi6FxJ7R-JQIAOmGvr2k2xAzknwxDpSbC2C-vHJfDt0ZmT4W9dcpfRHjyJBKeP0nFSPa-TMXOG9X0kq5mqNDGJdie6kb4EPXl7wG1HwCX3uRyHYb2eY6HjDn7jTv2QOv_yKCGloSJmPyRxwiTLXR8Pvlnnhxy4ADgI6BcC7SmnSgxZ_h7_08tVYF2Z7WUxFJIT6dQnIdX8nLHjMT0DggEK88Xp4gWzCXuNTipAHnnCpHaRydsGOiE3-FQ5MQpN5zDsX579pbECgPlW3sdrdZjMwdzyILK3kRf7Ut0w.9eZePgwFsfdamVKgmdGvoQ', 'token_type': 'bearer', 'expires_in': 3599}
2AccessTokenResponse
{
    "access_token": "1zRsIjdmweU0XlfLmXhE",
    "expires_in": 3599,
    "id_token": {
        "at_hash": "I8cidDPf-VE5PBoXK0MI-w",
        "aud": [
            "ou1exeQ8RJP5ct7L1Lvd"
        ],
        "exp": 1560789737,
        "iat": 1560786317,
        "iss": "https://isamfed.com:30443/test",
        "nonce": "O0meVHhIuqM8fVs9",
        "rt_hash": "FrTZu_mzV81cNVDM3gu25Q",
        "sub": "testuser"
    },
    "refresh_token": "eK59UPrpFgRBnhXePynOPB6QBshSZyRRaWcmS59L",
    "scope": "openid",
    "token_type": "bearer"
}
2jws header{'kid': '_uhPdeGrTWxobFeH0XbzjJpRrzp3CB9nknx1yFV1G-0', 'alg': 'RS256'}
2jwe header{'alg': 'RSA-OAEP-256', 'enc': 'A128CBC-HS256', 'kid': 'gtH4v3Yr2QqLreBSz0ByQQ8vkf8eFo1KIit3s-3Bbww', 'cty': 'JWT'}
2phase<--<-- 6 --- UserInfo -->-->
2do_user_info_request
kwargs:{'state': 'lm1XIUpq6XKcZX14', 'method': 'GET', 'authn_method': 'bearer_header'}
2request{'body': None}
2request_urlhttps://isamfed.com:30443/mga/sps/oauth/oauth20/userinfo
2request_http_args{'headers': {'Authorization': 'Bearer 1zRsIjdmweU0XlfLmXhE'}}
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