internal/certification/I.F.T.T.s/OP-scope-email.txt
Test tool version: 2.1.3
Issuer: https://oidc-certification.ory.sh:8443/
Profile: []
Test ID: OP-scope-email
Test description: Scope requesting email claims
Timestamp: 2018-06-23T11:29:25Z
============================================================
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.073 http response url:https://oidc-certification.ory.sh:8443/.well-known/openid-configuration status_code:200
0.074 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.074 phase <--<-- 2 --- Registration -->-->
0.074 register kwargs:{'application_name': 'OIC test tool', 'response_types': ['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': ['implicit'], 'application_type': 'web', 'url': 'https://oidc-certification.ory.sh:8443/clients'}
0.074 RegistrationRequest {
"application_type": "web",
"contacts": [
"roland@example.com"
],
"grant_types": [
"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#CUXz6ajAOL97M8PO"
],
"response_types": [
"id_token"
]
}
0.266 http response url:https://oidc-certification.ory.sh:8443/clients status_code:201
0.267 RegistrationResponse {
"client_id": "0968e2ca-49bb-4dfd-a5cb-b2cbd2b511ad",
"client_secret": "oNXp8wJt5XL5",
"client_secret_expires_at": 0,
"contacts": [
"roland@example.com"
],
"grant_types": [
"implicit"
],
"id": "0968e2ca-49bb-4dfd-a5cb-b2cbd2b511ad",
"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#CUXz6ajAOL97M8PO"
],
"response_types": [
"id_token"
],
"scope": "openid offline offline_access profile email address phone",
"token_endpoint_auth_method": "client_secret_basic",
"userinfo_signed_response_alg": "none"
}
0.267 phase <--<-- 3 --- AsyncAuthn -->-->
0.268 condition Check support: status=WARNING, message=No support for: scopes_supported=['email']
0.268 AuthorizationRequest {
"client_id": "0968e2ca-49bb-4dfd-a5cb-b2cbd2b511ad",
"nonce": "PIje7xkQnmWjZ6iz",
"redirect_uri": "https://op.certification.openid.net:61353/authz_cb",
"response_type": "id_token",
"scope": "openid email",
"state": "W8U3CrUpsyaROVUf"
}
0.268 redirect url https://oidc-certification.ory.sh:8443/oauth2/auth?scope=openid+email&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61353%2Fauthz_cb&client_id=0968e2ca-49bb-4dfd-a5cb-b2cbd2b511ad&state=W8U3CrUpsyaROVUf&response_type=id_token&nonce=PIje7xkQnmWjZ6iz
0.268 redirect https://oidc-certification.ory.sh:8443/oauth2/auth?scope=openid+email&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61353%2Fauthz_cb&client_id=0968e2ca-49bb-4dfd-a5cb-b2cbd2b511ad&state=W8U3CrUpsyaROVUf&response_type=id_token&nonce=PIje7xkQnmWjZ6iz
2.91 http args {}
3.079 response URL with fragment
3.079 response id_token=eyJhbGciOiJSUzI1NiIsImtpZCI6InB1YmxpYzowNWMyNDc4ZC02M2VkLTQ3YzgtYWQ5Mi03NTE4MWE1NjdmYTAiLCJ0eXAiOiJKV1QifQ.eyJhdWQiOlsiMDk2OGUyY2EtNDliYi00ZGZkLWE1Y2ItYjJjYmQyYjUxMWFkIl0sImF1dGhfdGltZSI6MTUyOTc1MzI4NSwiZXhwIjoxNTI5NzU2OTY0LCJpYXQiOjE1Mjk3NTMzNjQsImlzcyI6Imh0dHBzOi8vb2lkYy1jZXJ0aWZpY2F0aW9uLm9yeS5zaDo4NDQzLyIsImp0aSI6ImU5NGZkMzYzLTViZjAtNDBhMS05ZTE5LWRjZjkxYTYxNGY4YSIsIm5vbmNlIjoiUElqZTd4a1FubVdqWjZpeiIsInJhdCI6MTUyOTc1MzM2Miwic3ViIjoiZm9vQGJhci5jb20ifQ.X3WQUpvXm8czbPhTbLEA_Q9r7VhpJy9e26qdnaNgexeZ6csJQTIKbrGwfApT8vWEi5OgbyRxYf6DuWDMwEFBA_1EzO94iHEeCOFgJGiHMyUyZ3ayYafK27mECUK-r000f_NI-MVn-fyrCQFQKgmGhTu9eG2Dj78XMSHBNddC3kSkWaOGehsJ0V6YO6Z2108akJvgwljm6n_iqsP9kYotujBZD7pzVCh8mTvy8sXPEKwBdB8Z17N0bYAMAVxrShxk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gmGhTu9eG2Dj78XMSHBNddC3kSkWaOGehsJ0V6YO6Z2108akJvgwljm6n_iqsP9kYotujBZD7pzVCh8mTvy8sXPEKwBdB8Z17N0bYAMAVxrShxkorE8ufPiVjwgaQ_EdiHaxDEgz1S6WSua6HqERufN6HTLNGoAzTJWtp0UHxrS0vT4aFm1NWj5CYsBi3Vh4Gf2fGXdNvUioit41pFegEZ9JYuz32QDSq71_myAxnaLzMmHLN_kTQtHVT2BK7B01LfxxZVrgoFD7aB4fKgzu3NLoS2aMiHvfbtI_ZVAY8Ad39hfkJUqvdmnYPe1ptPIizh7G-R1l3o6uxP191zGym5iFWCteZ90JhS-YTL40Krs4PxK2aZZm0Xu5HKHfWy2-x8mU_MQkzjMYIkNYVr_vYTWz4K9U7tXKVqDQADgNoDSd6sPvb-LWshja1WKjhNVRQ1J-wRc4DCG79blCz-dSXv-pohOEllKx0vPoJJT3hawMP98ZDzGoqy92vsDYiuccSPq_kTj5Dsrnj-erWa6JkIhw-8', 'state': 'W8U3CrUpsyaROVUf'}
3.205 AuthorizationResponse {
"id_token": {
"aud": [
"0968e2ca-49bb-4dfd-a5cb-b2cbd2b511ad"
],
"auth_time": 1529753285,
"exp": 1529756964,
"iat": 1529753364,
"iss": "https://oidc-certification.ory.sh:8443/",
"jti": "e94fd363-5bf0-40a1-9e19-dcf91a614f8a",
"nonce": "PIje7xkQnmWjZ6iz",
"rat": 1529753362,
"sub": "foo@bar.com"
},
"state": "W8U3CrUpsyaROVUf"
}
3.205 phase <--<-- 4 --- AccessToken -->-->
3.205 phase <--<-- 5 --- UserInfo -->-->
3.205 phase <--<-- 6 --- Done -->-->
3.205 end
3.206 assertion CheckHTTPResponse
3.206 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]
3.206 assertion VerifyResponse
3.206 condition verify-response: status=OK [Checks that the last response was one of a possible set of OpenID Connect Responses]
3.206 assertion VerifyScopes
3.207 condition verify-scopes: status=WARNING, message=The following claims were missing from the returned information: ['email', 'email_verified'] [Verifies that the claims corresponding to the requested scopes are returned]
3.207 condition Done: status=OK
============================================================
Conditions
Check support: status=WARNING, message=No support for: scopes_supported=['email']
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: ['email', 'email_verified'] [Verifies that the claims corresponding to the requested scopes are returned]
Done: status=OK
============================================================
RESULT: WARNING
Warnings:
No support for: scopes_supported=['email']
The following claims were missing from the returned information: ['email', 'email_verified']