Test tool version: 2.1.3
Issuer: https://oidc-certification.ory.sh:8443/
Profile: []
Test ID: OP-scope-phone
Test description: Scope requesting phone claims
Timestamp: 2018-06-23T10:55:45Z

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

Trace output

0.0 phase <--<-- 0 --- Webfinger -->-->
0.0 not expected to do WebFinger
0.0 phase <--<-- 1 --- Discovery -->-->
0.0 provider_config kwargs:{'issuer': 'https://oidc-certification.ory.sh:8443/'}
0.082 http response url:https://oidc-certification.ory.sh:8443/.well-known/openid-configuration status_code:200
0.083 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"
}
0.083 phase <--<-- 2 --- Registration -->-->
0.083 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'}
0.084 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#ZZaCvnDBhzxp6cQz"
    ],
    "response_types": [
        "code id_token"
    ]
}
0.243 http response url:https://oidc-certification.ory.sh:8443/clients status_code:201
0.244 RegistrationResponse {
    "client_id": "0df1a08b-de93-4eed-a17e-8904e1f4b3af",
    "client_secret": "qaSmmK0soysv",
    "client_secret_expires_at": 0,
    "contacts": [
        "roland@example.com"
    ],
    "grant_types": [
        "authorization_code",
        "implicit"
    ],
    "id": "0df1a08b-de93-4eed-a17e-8904e1f4b3af",
    "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#ZZaCvnDBhzxp6cQz"
    ],
    "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"
}
0.244 phase <--<-- 3 --- AsyncAuthn -->-->
0.244 condition Check support: status=WARNING, message=No support for: scopes_supported=['phone']
0.244 AuthorizationRequest {
    "client_id": "0df1a08b-de93-4eed-a17e-8904e1f4b3af",
    "nonce": "2QrpfBWvy2O4biK6",
    "redirect_uri": "https://op.certification.openid.net:61353/authz_cb",
    "response_type": "code id_token",
    "scope": "openid phone",
    "state": "s8E3ioQJsHni1nXJ"
}
0.245 redirect url https://oidc-certification.ory.sh:8443/oauth2/auth?scope=openid+phone&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61353%2Fauthz_cb&client_id=0df1a08b-de93-4eed-a17e-8904e1f4b3af&state=s8E3ioQJsHni1nXJ&response_type=code+id_token&nonce=2QrpfBWvy2O4biK6
0.245 redirect https://oidc-certification.ory.sh:8443/oauth2/auth?scope=openid+phone&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61353%2Fauthz_cb&client_id=0df1a08b-de93-4eed-a17e-8904e1f4b3af&state=s8E3ioQJsHni1nXJ&response_type=code+id_token&nonce=2QrpfBWvy2O4biK6
2.331 http args {}
2.505 response URL with fragment
2.505 response code=qlGZTKSbHrnn9j9vGrSIGlqPWe_qK6SilwVFYA-wuME.j1KVFwWVlQkECfmv714RpiuTpAge05qG65JaEkfIYl4&id_token=eyJhbGciOiJSUzI1NiIsImtpZCI6InB1YmxpYzowYWNmNmM2NC00ZDU1LTQ4ODgtYWJiOS1iMmEzZjY2MWVlN2YiLCJ0eXAiOiJKV1QifQ.eyJhdWQiOlsiMGRmMWEwOGItZGU5My00ZWVkLWExN2UtODkwNGUxZjRiM2FmIl0sImF1dGhfdGltZSI6MTUyOTc1MTIyNCwiY19oYXNoIjoiM09pM09tV1I4YmlKZVBiVVAxVERTQSIsImV4cCI6MTUyOTc1NDk0NCwiaWF0IjoxNTI5NzUxMzQ0LCJpc3MiOiJodHRwczovL29pZGMtY2VydGlmaWNhdGlvbi5vcnkuc2g6ODQ0My8iLCJqdGkiOiI1ZGZkODE3Ny03NGYxLTQxN2ItODIwZC1mMDBjOGJmMTJjY2EiLCJub25jZSI6IjJRcnBmQld2eTJPNGJpSzYiLCJyYXQiOjE1Mjk3NTEzNDIsInN1YiI6ImZvb0BiYXIuY29tIn0. &state=s8E3ioQJsHni1nXJ
2.506 response {'id_token': 'eyJhbGciOiJSUzI1NiIsImtpZCI6InB1YmxpYzowYWNmNmM2NC00ZDU1LTQ4ODgtYWJiOS1iMmEzZjY2MWVlN2YiLCJ0eXAiOiJKV1QifQ.eyJhdWQiOlsiMGRmMWEwOGItZGU5My00ZWVkLWExN2UtODkwNGUxZjRiM2FmIl0sImF1dGhfdGltZSI6MTUyOTc1MTIyNCwiY19oYXNoIjoiM09pM09tV1I4YmlKZVBiVVAxVERTQSIsImV4cCI6MTUyOTc1NDk0NCwiaWF0IjoxNTI5NzUxMzQ0LCJpc3MiOiJodHRwczovL29pZGMtY2VydGlmaWNhdGlvbi5vcnkuc2g6ODQ0My8iLCJqdGkiOiI1ZGZkODE3Ny03NGYxLTQxN2ItODIwZC1mMDBjOGJmMTJjY2EiLCJub25jZSI6IjJRcnBmQld2eTJPNGJpSzYiLCJyYXQiOjE1Mjk3NTEzNDIsInN1YiI6ImZvb0BiYXIuY29tIn0. ', 'state': 's8E3ioQJsHni1nXJ', 'code': 'qlGZTKSbHrnn9j9vGrSIGlqPWe_qK6SilwVFYA-wuME.j1KVFwWVlQkECfmv714RpiuTpAge05qG65JaEkfIYl4'}
2.584 AuthorizationResponse {
    "code": "qlGZTKSbHrnn9j9vGrSIGlqPWe_qK6SilwVFYA-wuME.j1KVFwWVlQkECfmv714RpiuTpAge05qG65JaEkfIYl4",
    "id_token": {
        "aud": [
            "0df1a08b-de93-4eed-a17e-8904e1f4b3af"
        ],
        "auth_time": 1529751224,
        "c_hash": "3Oi3OmWR8biJePbUP1TDSA",
        "exp": 1529754944,
        "iat": 1529751344,
        "iss": "https://oidc-certification.ory.sh:8443/",
        "jti": "5dfd8177-74f1-417b-820d-f00c8bf12cca",
        "nonce": "2QrpfBWvy2O4biK6",
        "rat": 1529751342,
        "sub": "foo@bar.com"
    },
    "state": "s8E3ioQJsHni1nXJ"
}
2.584 phase <--<-- 4 --- AccessToken -->-->
2.584 --> request op_args: {'state': 's8E3ioQJsHni1nXJ'}, req_args: {'redirect_uri': 'https://op.certification.openid.net:61353/authz_cb'}
2.584 do_access_token_request kwargs:{'request_args': {'grant_type': 'authorization_code', 'state': 's8E3ioQJsHni1nXJ', 'code': 'qlGZTKSbHrnn9j9vGrSIGlqPWe_qK6SilwVFYA-wuME.j1KVFwWVlQkECfmv714RpiuTpAge05qG65JaEkfIYl4', 'redirect_uri': 'https://op.certification.openid.net:61353/authz_cb', 'client_id': '0df1a08b-de93-4eed-a17e-8904e1f4b3af'}, 'state': 's8E3ioQJsHni1nXJ'}
2.584 AccessTokenRequest {
    "code": "qlGZTKSbHrnn9j9vGrSIGlqPWe_qK6SilwVFYA-wuME.j1KVFwWVlQkECfmv714RpiuTpAge05qG65JaEkfIYl4",
    "grant_type": "authorization_code",
    "redirect_uri": "https://op.certification.openid.net:61353/authz_cb",
    "state": "s8E3ioQJsHni1nXJ"
}
2.584 request_url https://oidc-certification.ory.sh:8443/oauth2/token
2.584 request_http_args {'headers': {'Authorization': 'Basic MGRmMWEwOGItZGU5My00ZWVkLWExN2UtODkwNGUxZjRiM2FmOnFhU21tSzBzb3lzdg==', 'Content-Type': 'application/x-www-form-urlencoded'}}
2.584 request code=qlGZTKSbHrnn9j9vGrSIGlqPWe_qK6SilwVFYA-wuME.j1KVFwWVlQkECfmv714RpiuTpAge05qG65JaEkfIYl4&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61353%2Fauthz_cb&grant_type=authorization_code&state=s8E3ioQJsHni1nXJ
2.802 http response url:https://oidc-certification.ory.sh:8443/oauth2/token status_code:200
2.803 response {'id_token': 'eyJhbGciOiJSUzI1NiIsImtpZCI6InB1YmxpYzowYWNmNmM2NC00ZDU1LTQ4ODgtYWJiOS1iMmEzZjY2MWVlN2YiLCJ0eXAiOiJKV1QifQ.eyJhdWQiOlsiMGRmMWEwOGItZGU5My00ZWVkLWExN2UtODkwNGUxZjRiM2FmIl0sImF1dGhfdGltZSI6MTUyOTc1MTIyNCwiY19oYXNoIjoiM09pM09tV1I4YmlKZVBiVVAxVERTQSIsImV4cCI6MTUyOTc1NDk0NCwiaWF0IjoxNTI5NzUxMzQ0LCJpc3MiOiJodHRwczovL29pZGMtY2VydGlmaWNhdGlvbi5vcnkuc2g6ODQ0My8iLCJqdGkiOiIyMTA4MmFmYy1mZTkwLTQ0YmMtYjBmYi0zZjZmNzJhYzg1M2IiLCJub25jZSI6IjJRcnBmQld2eTJPNGJpSzYiLCJyYXQiOjE1Mjk3NTEzNDIsInN1YiI6ImZvb0BiYXIuY29tIn0. ', 'token_type': 'bearer', 'expires_in': 3599, 'access_token': 'Kw5dglVy8XX-EBm9LkUbqfaPA-cBVTjaNeUcw6OuN3U.gTC3wTKlgvssesddwdtS10cXfjvrwp75CTmPZex8wC4', 'scope': 'openid phone'}
2.807 AccessTokenResponse {
    "access_token": "Kw5dglVy8XX-EBm9LkUbqfaPA-cBVTjaNeUcw6OuN3U.gTC3wTKlgvssesddwdtS10cXfjvrwp75CTmPZex8wC4",
    "expires_in": 3599,
    "id_token": {
        "aud": [
            "0df1a08b-de93-4eed-a17e-8904e1f4b3af"
        ],
        "auth_time": 1529751224,
        "c_hash": "3Oi3OmWR8biJePbUP1TDSA",
        "exp": 1529754944,
        "iat": 1529751344,
        "iss": "https://oidc-certification.ory.sh:8443/",
        "jti": "21082afc-fe90-44bc-b0fb-3f6f72ac853b",
        "nonce": "2QrpfBWvy2O4biK6",
        "rat": 1529751342,
        "sub": "foo@bar.com"
    },
    "scope": "openid phone",
    "token_type": "bearer"
}
2.807 phase <--<-- 5 --- UserInfo -->-->
2.807 do_user_info_request kwargs:{'state': 's8E3ioQJsHni1nXJ', 'method': 'GET', 'authn_method': 'bearer_header'}
2.807 request {'body': None}
2.807 request_url https://oidc-certification.ory.sh:8443/userinfo
2.807 request_http_args {'headers': {'Authorization': 'Bearer Kw5dglVy8XX-EBm9LkUbqfaPA-cBVTjaNeUcw6OuN3U.gTC3wTKlgvssesddwdtS10cXfjvrwp75CTmPZex8wC4'}}
2.879 http response url:https://oidc-certification.ory.sh:8443/userinfo status_code:200
2.88 OpenIDSchema {
    "sub": "foo@bar.com"
}
2.88 OpenIDSchema {
    "sub": "foo@bar.com"
}
2.88 phase <--<-- 6 --- Done -->-->
2.88 end 
2.88 assertion CheckHTTPResponse
2.88 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]
2.881 assertion VerifyResponse
2.881 condition verify-response: status=OK [Checks that the last response was one of a possible set of OpenID Connect Responses]
2.881 assertion VerifyScopes
2.881 condition verify-scopes: status=WARNING, message=The following claims were missing from the returned information: ['phone_number', 'phone_number_verified'] [Verifies that the claims corresponding to the requested scopes are returned]
2.881 condition Done: status=OK



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

Conditions

Check support: status=WARNING, message=No support for: scopes_supported=['phone']
check-http-response: status=OK [Checks that the HTTP response status is within the 200 or 300 range. Also does some extra JSON checks]
verify-response: status=OK [Checks that the last response was one of a possible set of OpenID Connect Responses]
verify-scopes: status=WARNING, message=The following claims were missing from the returned information: ['phone_number', 'phone_number_verified'] [Verifies that the claims corresponding to the requested scopes are returned]
Done: status=OK



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

RESULT: WARNING
Warnings:
No support for: scopes_supported=['phone']
The following claims were missing from the returned information: ['phone_number', 'phone_number_verified']
