Test tool version: 2.1.3
Issuer: https://oidc-certification.ory.sh:8443/
Profile: []
Test ID: OP-Req-claims_locales
Test description: Providing claims_locales
Timestamp: 2018-06-23T10:56:05Z

============================================================

Trace output

0.0 phase <--<-- 0 --- Note -->-->
0.995 phase <--<-- 1 --- Webfinger -->-->
0.995 not expected to do WebFinger
0.996 phase <--<-- 2 --- Discovery -->-->
0.996 provider_config kwargs:{'issuer': 'https://oidc-certification.ory.sh:8443/'}
1.106 http response url:https://oidc-certification.ory.sh:8443/.well-known/openid-configuration status_code:200
1.108 ProviderConfigurationResponse {
    "authorization_endpoint": "https://oidc-certification.ory.sh:8443/oauth2/auth",
    "claims_parameter_supported": false,
    "claims_supported": [
        "sub"
    ],
    "grant_types_supported": [
        "authorization_code",
        "implicit",
        "client_credentials",
        "refresh_token"
    ],
    "id_token_signing_alg_values_supported": [
        "RS256"
    ],
    "issuer": "https://oidc-certification.ory.sh:8443/",
    "jwks_uri": "https://oidc-certification.ory.sh:8443/.well-known/jwks.json",
    "registration_endpoint": "https://oidc-certification.ory.sh:8443/clients",
    "request_parameter_supported": true,
    "request_uri_parameter_supported": true,
    "require_request_uri_registration": true,
    "response_modes_supported": [
        "query",
        "fragment"
    ],
    "response_types_supported": [
        "code",
        "code id_token",
        "id_token",
        "token id_token",
        "token",
        "token id_token code"
    ],
    "scopes_supported": [
        "offline",
        "openid"
    ],
    "subject_types_supported": [
        "pairwise",
        "public"
    ],
    "token_endpoint": "https://oidc-certification.ory.sh:8443/oauth2/token",
    "token_endpoint_auth_methods_supported": [
        "client_secret_post",
        "client_secret_basic",
        "private_key_jwt",
        "none"
    ],
    "userinfo_endpoint": "https://oidc-certification.ory.sh:8443/userinfo",
    "userinfo_signing_alg_values_supported": [
        "none",
        "RS256"
    ],
    "version": "3.0"
}
1.108 phase <--<-- 3 --- Registration -->-->
1.108 register kwargs:{'application_name': 'OIC test tool', 'response_types': ['code id_token'], 'contacts': ['roland@example.com'], 'redirect_uris': ['https://op.certification.openid.net:61353/authz_cb'], 'post_logout_redirect_uris': ['https://op.certification.openid.net:61353/logout'], 'jwks_uri': 'https://op.certification.openid.net:61353/static/jwks_61353.json', 'grant_types': ['authorization_code', 'implicit'], 'application_type': 'web', 'url': 'https://oidc-certification.ory.sh:8443/clients'}
1.108 RegistrationRequest {
    "application_type": "web",
    "contacts": [
        "roland@example.com"
    ],
    "grant_types": [
        "authorization_code",
        "implicit"
    ],
    "jwks_uri": "https://op.certification.openid.net:61353/static/jwks_61353.json",
    "post_logout_redirect_uris": [
        "https://op.certification.openid.net:61353/logout"
    ],
    "redirect_uris": [
        "https://op.certification.openid.net:61353/authz_cb"
    ],
    "request_uris": [
        "https://op.certification.openid.net:61353/requests/e3ecc141f5419bd33d25d760861d32323144d583feaf26eb1b5cbf20147608b9#TkKrL99BnzPDscVc"
    ],
    "response_types": [
        "code id_token"
    ]
}
1.27 http response url:https://oidc-certification.ory.sh:8443/clients status_code:201
1.27 RegistrationResponse {
    "client_id": "e69978c7-caff-4582-9e12-aab6fb43b829",
    "client_secret": "dFy0y78jhbYH",
    "client_secret_expires_at": 0,
    "contacts": [
        "roland@example.com"
    ],
    "grant_types": [
        "authorization_code",
        "implicit"
    ],
    "id": "e69978c7-caff-4582-9e12-aab6fb43b829",
    "jwks_uri": "https://op.certification.openid.net:61353/static/jwks_61353.json",
    "public": false,
    "redirect_uris": [
        "https://op.certification.openid.net:61353/authz_cb"
    ],
    "request_uris": [
        "https://op.certification.openid.net:61353/requests/e3ecc141f5419bd33d25d760861d32323144d583feaf26eb1b5cbf20147608b9#TkKrL99BnzPDscVc"
    ],
    "response_types": [
        "code id_token"
    ],
    "scope": "openid offline offline_access profile email address phone",
    "token_endpoint_auth_method": "client_secret_basic",
    "userinfo_signed_response_alg": "none"
}
1.271 phase <--<-- 4 --- AsyncAuthn -->-->
1.271 AuthorizationRequest {
    "claims_locales": "se",
    "client_id": "e69978c7-caff-4582-9e12-aab6fb43b829",
    "nonce": "XtMGKaGnVvc2wgnV",
    "redirect_uri": "https://op.certification.openid.net:61353/authz_cb",
    "response_type": "code id_token",
    "scope": "openid",
    "state": "fIlSaPFu0JjY8QXb"
}
1.271 redirect url https://oidc-certification.ory.sh:8443/oauth2/auth?scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61353%2Fauthz_cb&client_id=e69978c7-caff-4582-9e12-aab6fb43b829&state=fIlSaPFu0JjY8QXb&response_type=code+id_token&nonce=XtMGKaGnVvc2wgnV&claims_locales=se
1.271 redirect https://oidc-certification.ory.sh:8443/oauth2/auth?scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61353%2Fauthz_cb&client_id=e69978c7-caff-4582-9e12-aab6fb43b829&state=fIlSaPFu0JjY8QXb&response_type=code+id_token&nonce=XtMGKaGnVvc2wgnV&claims_locales=se
4.208 http args {}
4.423 response URL with fragment
4.424 response code=wiISqZEYtfnWH61QKxHiAzwJsXtaNLWWx7Ah7HXCoqs.Xv9WTT5OKaw_Tr6D7pu5sviReuNOZ20yRZXTGNXEsaI&id_token=eyJhbGciOiJSUzI1NiIsImtpZCI6InB1YmxpYzowYWNmNmM2NC00ZDU1LTQ4ODgtYWJiOS1iMmEzZjY2MWVlN2YiLCJ0eXAiOiJKV1QifQ.eyJhdWQiOlsiZTY5OTc4YzctY2FmZi00NTgyLTllMTItYWFiNmZiNDNiODI5Il0sImF1dGhfdGltZSI6MTUyOTc1MTIyNCwiY19oYXNoIjoiVDZ0dWxJaEJEV1BSc2Z4NGdYdGVpUSIsImV4cCI6MTUyOTc1NDk2NCwiaWF0IjoxNTI5NzUxMzY0LCJpc3MiOiJodHRwczovL29pZGMtY2VydGlmaWNhdGlvbi5vcnkuc2g6ODQ0My8iLCJqdGkiOiJhZjg4MDBhOC1mYzY3LTQxNGUtYTYzNi1lMmQ5YzkxZTA3NTAiLCJub25jZSI6Ilh0TUdLYUduVnZjMndnblYiLCJyYXQiOjE1Mjk3NTEzNjIsInN1YiI6ImZvb0BiYXIuY29tIn0. &state=fIlSaPFu0JjY8QXb
4.424 response {'id_token': 'eyJhbGciOiJSUzI1NiIsImtpZCI6InB1YmxpYzowYWNmNmM2NC00ZDU1LTQ4ODgtYWJiOS1iMmEzZjY2MWVlN2YiLCJ0eXAiOiJKV1QifQ.eyJhdWQiOlsiZTY5OTc4YzctY2FmZi00NTgyLTllMTItYWFiNmZiNDNiODI5Il0sImF1dGhfdGltZSI6MTUyOTc1MTIyNCwiY19oYXNoIjoiVDZ0dWxJaEJEV1BSc2Z4NGdYdGVpUSIsImV4cCI6MTUyOTc1NDk2NCwiaWF0IjoxNTI5NzUxMzY0LCJpc3MiOiJodHRwczovL29pZGMtY2VydGlmaWNhdGlvbi5vcnkuc2g6ODQ0My8iLCJqdGkiOiJhZjg4MDBhOC1mYzY3LTQxNGUtYTYzNi1lMmQ5YzkxZTA3NTAiLCJub25jZSI6Ilh0TUdLYUduVnZjMndnblYiLCJyYXQiOjE1Mjk3NTEzNjIsInN1YiI6ImZvb0BiYXIuY29tIn0. ', 'state': 'fIlSaPFu0JjY8QXb', 'code': 'wiISqZEYtfnWH61QKxHiAzwJsXtaNLWWx7Ah7HXCoqs.Xv9WTT5OKaw_Tr6D7pu5sviReuNOZ20yRZXTGNXEsaI'}
4.505 AuthorizationResponse {
    "code": "wiISqZEYtfnWH61QKxHiAzwJsXtaNLWWx7Ah7HXCoqs.Xv9WTT5OKaw_Tr6D7pu5sviReuNOZ20yRZXTGNXEsaI",
    "id_token": {
        "aud": [
            "e69978c7-caff-4582-9e12-aab6fb43b829"
        ],
        "auth_time": 1529751224,
        "c_hash": "T6tulIhBDWPRsfx4gXteiQ",
        "exp": 1529754964,
        "iat": 1529751364,
        "iss": "https://oidc-certification.ory.sh:8443/",
        "jti": "af8800a8-fc67-414e-a636-e2d9c91e0750",
        "nonce": "XtMGKaGnVvc2wgnV",
        "rat": 1529751362,
        "sub": "foo@bar.com"
    },
    "state": "fIlSaPFu0JjY8QXb"
}
4.506 phase <--<-- 5 --- AccessToken -->-->
4.506 --> request op_args: {'state': 'fIlSaPFu0JjY8QXb'}, req_args: {'redirect_uri': 'https://op.certification.openid.net:61353/authz_cb'}
4.506 do_access_token_request kwargs:{'request_args': {'grant_type': 'authorization_code', 'state': 'fIlSaPFu0JjY8QXb', 'code': 'wiISqZEYtfnWH61QKxHiAzwJsXtaNLWWx7Ah7HXCoqs.Xv9WTT5OKaw_Tr6D7pu5sviReuNOZ20yRZXTGNXEsaI', 'redirect_uri': 'https://op.certification.openid.net:61353/authz_cb', 'client_id': 'e69978c7-caff-4582-9e12-aab6fb43b829'}, 'state': 'fIlSaPFu0JjY8QXb'}
4.506 AccessTokenRequest {
    "code": "wiISqZEYtfnWH61QKxHiAzwJsXtaNLWWx7Ah7HXCoqs.Xv9WTT5OKaw_Tr6D7pu5sviReuNOZ20yRZXTGNXEsaI",
    "grant_type": "authorization_code",
    "redirect_uri": "https://op.certification.openid.net:61353/authz_cb",
    "state": "fIlSaPFu0JjY8QXb"
}
4.506 request_url https://oidc-certification.ory.sh:8443/oauth2/token
4.506 request_http_args {'headers': {'Authorization': 'Basic ZTY5OTc4YzctY2FmZi00NTgyLTllMTItYWFiNmZiNDNiODI5OmRGeTB5NzhqaGJZSA==', 'Content-Type': 'application/x-www-form-urlencoded'}}
4.506 request code=wiISqZEYtfnWH61QKxHiAzwJsXtaNLWWx7Ah7HXCoqs.Xv9WTT5OKaw_Tr6D7pu5sviReuNOZ20yRZXTGNXEsaI&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61353%2Fauthz_cb&grant_type=authorization_code&state=fIlSaPFu0JjY8QXb
4.724 http response url:https://oidc-certification.ory.sh:8443/oauth2/token status_code:200
4.725 response {'id_token': 'eyJhbGciOiJSUzI1NiIsImtpZCI6InB1YmxpYzowYWNmNmM2NC00ZDU1LTQ4ODgtYWJiOS1iMmEzZjY2MWVlN2YiLCJ0eXAiOiJKV1QifQ.eyJhdWQiOlsiZTY5OTc4YzctY2FmZi00NTgyLTllMTItYWFiNmZiNDNiODI5Il0sImF1dGhfdGltZSI6MTUyOTc1MTIyNCwiY19oYXNoIjoiVDZ0dWxJaEJEV1BSc2Z4NGdYdGVpUSIsImV4cCI6MTUyOTc1NDk2NCwiaWF0IjoxNTI5NzUxMzY1LCJpc3MiOiJodHRwczovL29pZGMtY2VydGlmaWNhdGlvbi5vcnkuc2g6ODQ0My8iLCJqdGkiOiI4YTczNzI5ZC1kM2YzLTRmN2EtODZjZi1iMTc3MTljZDFlOTkiLCJub25jZSI6Ilh0TUdLYUduVnZjMndnblYiLCJyYXQiOjE1Mjk3NTEzNjIsInN1YiI6ImZvb0BiYXIuY29tIn0. ', 'token_type': 'bearer', 'expires_in': 3599, 'access_token': 'lZN9ftMbsHpbFf_YH9CnWVpjEczFf1N3y7icKOeoIEQ.O9wH0NQNpH35rz8GulaEbHgODjwOWxaXqQ2D7ZEU2u0', 'scope': 'openid'}
4.729 AccessTokenResponse {
    "access_token": "lZN9ftMbsHpbFf_YH9CnWVpjEczFf1N3y7icKOeoIEQ.O9wH0NQNpH35rz8GulaEbHgODjwOWxaXqQ2D7ZEU2u0",
    "expires_in": 3599,
    "id_token": {
        "aud": [
            "e69978c7-caff-4582-9e12-aab6fb43b829"
        ],
        "auth_time": 1529751224,
        "c_hash": "T6tulIhBDWPRsfx4gXteiQ",
        "exp": 1529754964,
        "iat": 1529751365,
        "iss": "https://oidc-certification.ory.sh:8443/",
        "jti": "8a73729d-d3f3-4f7a-86cf-b17719cd1e99",
        "nonce": "XtMGKaGnVvc2wgnV",
        "rat": 1529751362,
        "sub": "foo@bar.com"
    },
    "scope": "openid",
    "token_type": "bearer"
}
4.729 phase <--<-- 6 --- UserInfo -->-->
4.729 do_user_info_request kwargs:{'state': 'fIlSaPFu0JjY8QXb', 'method': 'GET', 'authn_method': 'bearer_header'}
4.729 request {'body': None}
4.729 request_url https://oidc-certification.ory.sh:8443/userinfo
4.729 request_http_args {'headers': {'Authorization': 'Bearer lZN9ftMbsHpbFf_YH9CnWVpjEczFf1N3y7icKOeoIEQ.O9wH0NQNpH35rz8GulaEbHgODjwOWxaXqQ2D7ZEU2u0'}}
4.817 http response url:https://oidc-certification.ory.sh:8443/userinfo status_code:200
4.818 OpenIDSchema {
    "sub": "foo@bar.com"
}
4.818 OpenIDSchema {
    "sub": "foo@bar.com"
}
4.818 phase <--<-- 7 --- DisplayUserInfo -->-->
4.819 phase <--<-- 8 --- Done -->-->
4.819 end 
4.819 assertion CheckHTTPResponse
4.819 condition check-http-response: status=OK [Checks that the HTTP response status is within the 200 or 300 range. Also does some extra JSON checks]
4.819 condition Done: status=OK



============================================================

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



============================================================

RESULT: PASSED
