ory-am/hydra

View on GitHub
internal/certification/IT.F.T.T.s/OP-Req-acr_values.txt

Summary

Maintainability
Test Coverage
Test tool version: 2.1.3
Issuer: https://oidc-certification.ory.sh:8443/
Profile: []
Test ID: OP-Req-acr_values
Test description: Providing acr_values
Timestamp: 2018-06-23T11:25:09Z

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

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.075 http response url:https://oidc-certification.ory.sh:8443/.well-known/openid-configuration status_code:200
0.077 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.077 phase <--<-- 2 --- Registration -->-->
0.077 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.077 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#h0rJ6zRdulxsefkQ"
    ],
    "response_types": [
        "id_token token"
    ]
}
0.267 http response url:https://oidc-certification.ory.sh:8443/clients status_code:201
0.268 RegistrationResponse {
    "client_id": "4c7c7d93-a99f-4cac-9a7a-93042a7fb946",
    "client_secret": "CQgnKFTW5-zU",
    "client_secret_expires_at": 0,
    "contacts": [
        "roland@example.com"
    ],
    "grant_types": [
        "implicit"
    ],
    "id": "4c7c7d93-a99f-4cac-9a7a-93042a7fb946",
    "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#h0rJ6zRdulxsefkQ"
    ],
    "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.268 phase <--<-- 3 --- AsyncAuthn -->-->
0.268 AuthorizationRequest {
    "acr_values": "1 2",
    "client_id": "4c7c7d93-a99f-4cac-9a7a-93042a7fb946",
    "nonce": "cYH3qAlztl1lKU11",
    "redirect_uri": "https://op.certification.openid.net:61353/authz_cb",
    "response_type": "id_token token",
    "scope": "openid",
    "state": "rfh8hNoBDv6dqv3y"
}
0.269 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=4c7c7d93-a99f-4cac-9a7a-93042a7fb946&state=rfh8hNoBDv6dqv3y&acr_values=1+2&response_type=id_token+token&nonce=cYH3qAlztl1lKU11
0.269 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=4c7c7d93-a99f-4cac-9a7a-93042a7fb946&state=rfh8hNoBDv6dqv3y&acr_values=1+2&response_type=id_token+token&nonce=cYH3qAlztl1lKU11
2.235 http args {}
2.405 response URL with fragment
2.405 response access_token=JKjxkpAfOXgKIWybsHsEMpQ0U1UJDxblSetV9l7N5es.8J5dT5zM9h5zZApQcV3hctGxwqbYPmVNTKNMH-Yirrs&expires_in=3599&id_token=eyJhbGciOiJSUzI1NiIsImtpZCI6InB1YmxpYzo0YWU0OWJmNC05ZGEwLTRhODItYmNjZS04OTNjMzcyOWYyMmEiLCJ0eXAiOiJKV1QifQ.eyJhY3IiOiIwIiwiYXRfaGFzaCI6Im9JTDZ5eVoyNVpBMG8xYWVYSElwMUEiLCJhdWQiOlsiNGM3YzdkOTMtYTk5Zi00Y2FjLTlhN2EtOTMwNDJhN2ZiOTQ2Il0sImF1dGhfdGltZSI6MTUyOTc1MzAwOSwiZXhwIjoxNTI5NzU2NzA5LCJpYXQiOjE1Mjk3NTMxMDksImlzcyI6Imh0dHBzOi8vb2lkYy1jZXJ0aWZpY2F0aW9uLm9yeS5zaDo4NDQzLyIsImp0aSI6IjhmZWE0MjI3LTYxODItNGExMC1iMTkyLTNjNDg4NzlmZDViOCIsIm5vbmNlIjoiY1lIM3FBbHp0bDFs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expires_in': 3599, 'token_type': 'bearer'}
2.485 AuthorizationResponse {
    "access_token": "JKjxkpAfOXgKIWybsHsEMpQ0U1UJDxblSetV9l7N5es.8J5dT5zM9h5zZApQcV3hctGxwqbYPmVNTKNMH-Yirrs",
    "expires_in": 3599,
    "id_token": {
        "acr": "0",
        "at_hash": "oIL6yyZ25ZA0o1aeXHIp1A",
        "aud": [
            "4c7c7d93-a99f-4cac-9a7a-93042a7fb946"
        ],
        "auth_time": 1529753009,
        "exp": 1529756709,
        "iat": 1529753109,
        "iss": "https://oidc-certification.ory.sh:8443/",
        "jti": "8fea4227-6182-4a10-b192-3c48879fd5b8",
        "nonce": "cYH3qAlztl1lKU11",
        "rat": 1529753107,
        "sub": "foo@bar.com"
    },
    "scope": "openid",
    "state": "rfh8hNoBDv6dqv3y",
    "token_type": "bearer"
}
2.485 phase <--<-- 4 --- AccessToken -->-->
2.485 phase <--<-- 5 --- Done -->-->
2.485 end 
2.488 assertion VerifyResponse
2.488 condition verify-response: status=OK [Checks that the last response was one of a possible set of OpenID Connect Responses]
2.489 assertion UsedAcrValue
2.489 condition used-acr-value: status=WARNING, message=Used acr value: 0, preferred: ['1', '2'] [The acr value in the ID Token]
2.489 condition Done: status=OK



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

Conditions

verify-response: status=OK [Checks that the last response was one of a possible set of OpenID Connect Responses]
used-acr-value: status=WARNING, message=Used acr value: 0, preferred: ['1', '2'] [The acr value in the ID Token]
Done: status=OK



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

RESULT: WARNING
Warnings:
Used acr value: 0, preferred: ['1', '2']