ory-am/hydra

View on GitHub
internal/certification/IT.F.T.T.s/OP-scope-address.txt

Summary

Maintainability
Test Coverage
Test tool version: 2.1.3
Issuer: https://oidc-certification.ory.sh:8443/
Profile: []
Test ID: OP-scope-address
Test description: Scope requesting address claims
Timestamp: 2018-06-23T11:24:46Z

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

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.077 http response url:https://oidc-certification.ory.sh:8443/.well-known/openid-configuration status_code:200
0.078 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.079 phase <--<-- 2 --- Registration -->-->
0.079 register kwargs:{'application_name': 'OIC test tool', 'response_types': ['id_token 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.079 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#51qE1v7YiDWHxyFN"
    ],
    "response_types": [
        "id_token token"
    ]
}
0.244 http response url:https://oidc-certification.ory.sh:8443/clients status_code:201
0.245 RegistrationResponse {
    "client_id": "b5c4632c-3395-45f5-955a-ffa0fb78eef0",
    "client_secret": "mUsReaa_C7Au",
    "client_secret_expires_at": 0,
    "contacts": [
        "roland@example.com"
    ],
    "grant_types": [
        "implicit"
    ],
    "id": "b5c4632c-3395-45f5-955a-ffa0fb78eef0",
    "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#51qE1v7YiDWHxyFN"
    ],
    "response_types": [
        "id_token token"
    ],
    "scope": "openid offline offline_access profile email address phone",
    "token_endpoint_auth_method": "client_secret_basic",
    "userinfo_signed_response_alg": "none"
}
0.245 phase <--<-- 3 --- AsyncAuthn -->-->
0.245 condition Check support: status=WARNING, message=No support for: scopes_supported=['address']
0.245 AuthorizationRequest {
    "client_id": "b5c4632c-3395-45f5-955a-ffa0fb78eef0",
    "nonce": "ua4UlwbKhKB7VBoX",
    "redirect_uri": "https://op.certification.openid.net:61353/authz_cb",
    "response_type": "id_token token",
    "scope": "openid address",
    "state": "uCrNJhMUG7n0DrmA"
}
0.246 redirect url https://oidc-certification.ory.sh:8443/oauth2/auth?scope=openid+address&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61353%2Fauthz_cb&client_id=b5c4632c-3395-45f5-955a-ffa0fb78eef0&state=uCrNJhMUG7n0DrmA&response_type=id_token+token&nonce=ua4UlwbKhKB7VBoX
0.246 redirect https://oidc-certification.ory.sh:8443/oauth2/auth?scope=openid+address&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61353%2Fauthz_cb&client_id=b5c4632c-3395-45f5-955a-ffa0fb78eef0&state=uCrNJhMUG7n0DrmA&response_type=id_token+token&nonce=ua4UlwbKhKB7VBoX
2.387 http args {}
2.554 response URL with fragment
2.554 response access_token=HtNy2xVDiIhPTbUx23PoGKADqtoNhg0pPXWXuyOqYN4.tIJgSCTdc2FzidEIZBz7tbuiWPzigXZnsLtFBOQSpcc&expires_in=3599&id_token=eyJhbGciOiJSUzI1NiIsImtpZCI6InB1YmxpYzo0YWU0OWJmNC05ZGEwLTRhODItYmNjZS04OTNjMzcyOWYyMmEiLCJ0eXAiOiJKV1QifQ.eyJhdF9oYXNoIjoiOGRiV2hiaWdhQnZBMHpWZEF2ckVMQSIsImF1ZCI6WyJiNWM0NjMyYy0zMzk1LTQ1ZjUtOTU1YS1mZmEwZmI3OGVlZjAiXSwiYXV0aF90aW1lIjoxNTI5NzUzMDA5LCJleHAiOjE1Mjk3NTY2ODYsImlhdCI6MTUyOTc1MzA4NiwiaXNzIjoiaHR0cHM6Ly9vaWRjLWNlcnRpZmljYXRpb24ub3J5LnNoOjg0NDMvIiwianRpIjoiNWI2ODk5MjktZmE4YS00ODg3LWI3ODQtNTdjYTZhNDM0NjYzIiwibm9uY2UiOiJ1YTRVbHdiS2hLQjdWQm9YIiwicmF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uthorizationResponse {
    "access_token": "HtNy2xVDiIhPTbUx23PoGKADqtoNhg0pPXWXuyOqYN4.tIJgSCTdc2FzidEIZBz7tbuiWPzigXZnsLtFBOQSpcc",
    "expires_in": 3599,
    "id_token": {
        "at_hash": "8dbWhbigaBvA0zVdAvrELA",
        "aud": [
            "b5c4632c-3395-45f5-955a-ffa0fb78eef0"
        ],
        "auth_time": 1529753009,
        "exp": 1529756686,
        "iat": 1529753086,
        "iss": "https://oidc-certification.ory.sh:8443/",
        "jti": "5b689929-fa8a-4887-b784-57ca6a434663",
        "nonce": "ua4UlwbKhKB7VBoX",
        "rat": 1529753084,
        "sub": "foo@bar.com"
    },
    "scope": "openid address",
    "state": "uCrNJhMUG7n0DrmA",
    "token_type": "bearer"
}
2.64 phase <--<-- 4 --- AccessToken -->-->
2.64 phase <--<-- 5 --- UserInfo -->-->
2.64 do_user_info_request kwargs:{'state': 'uCrNJhMUG7n0DrmA', 'method': 'GET', 'authn_method': 'bearer_header'}
2.64 request {'body': None}
2.64 request_url https://oidc-certification.ory.sh:8443/userinfo
2.64 request_http_args {'headers': {'Authorization': 'Bearer HtNy2xVDiIhPTbUx23PoGKADqtoNhg0pPXWXuyOqYN4.tIJgSCTdc2FzidEIZBz7tbuiWPzigXZnsLtFBOQSpcc'}}
2.71 http response url:https://oidc-certification.ory.sh:8443/userinfo status_code:200
2.711 OpenIDSchema {
    "sub": "foo@bar.com"
}
2.711 OpenIDSchema {
    "sub": "foo@bar.com"
}
2.711 phase <--<-- 6 --- Done -->-->
2.711 end 
2.711 assertion CheckHTTPResponse
2.711 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.712 assertion VerifyResponse
2.712 condition verify-response: status=OK [Checks that the last response was one of a possible set of OpenID Connect Responses]
2.712 assertion VerifyScopes
2.712 condition verify-scopes: status=WARNING, message=The following claims were missing from the returned information: ['address'] [Verifies that the claims corresponding to the requested scopes are returned]
2.712 condition Done: status=OK



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

Conditions

Check support: status=WARNING, message=No support for: scopes_supported=['address']
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: ['address'] [Verifies that the claims corresponding to the requested scopes are returned]
Done: status=OK



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

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