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-23T10:55:59Z

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

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.074 http response url:https://oidc-certification.ory.sh:8443/.well-known/openid-configuration status_code:200
0.075 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.075 phase <--<-- 2 --- Registration -->-->
0.075 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.076 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#ZAXVRhKLUXgI6lq9"
    ],
    "response_types": [
        "code id_token"
    ]
}
0.267 http response url:https://oidc-certification.ory.sh:8443/clients status_code:201
0.268 RegistrationResponse {
    "client_id": "498b5241-dead-47e1-a3d2-83e375ffe1ac",
    "client_secret": "E6Plpb585M52",
    "client_secret_expires_at": 0,
    "contacts": [
        "roland@example.com"
    ],
    "grant_types": [
        "authorization_code",
        "implicit"
    ],
    "id": "498b5241-dead-47e1-a3d2-83e375ffe1ac",
    "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#ZAXVRhKLUXgI6lq9"
    ],
    "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.268 phase <--<-- 3 --- AsyncAuthn -->-->
0.268 AuthorizationRequest {
    "acr_values": "1 2",
    "client_id": "498b5241-dead-47e1-a3d2-83e375ffe1ac",
    "nonce": "B8L2ZZLxLOYAZtSG",
    "redirect_uri": "https://op.certification.openid.net:61353/authz_cb",
    "response_type": "code id_token",
    "scope": "openid",
    "state": "RkZYzBGQ3bdBRyNR"
}
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=498b5241-dead-47e1-a3d2-83e375ffe1ac&state=RkZYzBGQ3bdBRyNR&acr_values=1+2&response_type=code+id_token&nonce=B8L2ZZLxLOYAZtSG
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=498b5241-dead-47e1-a3d2-83e375ffe1ac&state=RkZYzBGQ3bdBRyNR&acr_values=1+2&response_type=code+id_token&nonce=B8L2ZZLxLOYAZtSG
2.564 http args {}
2.734 response URL with fragment
2.734 response code=Xg7gOkhw73dyA9yneMLy2bHOoaeS-7uejD-Qrq-0phc.VDUwKYn-daDwUxsAUBJUlCNUAj7chOfi_XHFsqfTLBk&id_token=eyJhbGciOiJSUzI1NiIsImtpZCI6InB1YmxpYzowYWNmNmM2NC00ZDU1LTQ4ODgtYWJiOS1iMmEzZjY2MWVlN2YiLCJ0eXAiOiJKV1QifQ.eyJhY3IiOiIwIiwiYXVkIjpbIjQ5OGI1MjQxLWRlYWQtNDdlMS1hM2QyLTgzZTM3NWZmZTFhYyJdLCJhdXRoX3RpbWUiOjE1Mjk3NTEyMjQsImNfaGFzaCI6IjBYMlZlelRhUDB5RXRxR3I4UXpXcFEiLCJleHAiOjE1Mjk3NTQ5NTgsImlhdCI6MTUyOTc1MTM1OCwiaXNzIjoiaHR0cHM6Ly9vaWRjLWNlcnRpZmljYXRpb24ub3J5LnNoOjg0NDMvIiwianRpIjoiY2ZhZDc3MjctM2QzMC00NTBlLWIyMWMtYjJjMGUyNmVkYTNhIiwibm9uY2UiOiJCOEwyWlpMeExPWUFadFNHIiwicmF0IjoxNTI5NzUxMzU2LCJzdWIiOiJmb29AYmFyLmNvbSJ9. &state=RkZYzBGQ3bdBRyNR
2.735 response {'id_token': 'eyJhbGciOiJSUzI1NiIsImtpZCI6InB1YmxpYzowYWNmNmM2NC00ZDU1LTQ4ODgtYWJiOS1iMmEzZjY2MWVlN2YiLCJ0eXAiOiJKV1QifQ.eyJhY3IiOiIwIiwiYXVkIjpbIjQ5OGI1MjQxLWRlYWQtNDdlMS1hM2QyLTgzZTM3NWZmZTFhYyJdLCJhdXRoX3RpbWUiOjE1Mjk3NTEyMjQsImNfaGFzaCI6IjBYMlZlelRhUDB5RXRxR3I4UXpXcFEiLCJleHAiOjE1Mjk3NTQ5NTgsImlhdCI6MTUyOTc1MTM1OCwiaXNzIjoiaHR0cHM6Ly9vaWRjLWNlcnRpZmljYXRpb24ub3J5LnNoOjg0NDMvIiwianRpIjoiY2ZhZDc3MjctM2QzMC00NTBlLWIyMWMtYjJjMGUyNmVkYTNhIiwibm9uY2UiOiJCOEwyWlpMeExPWUFadFNHIiwicmF0IjoxNTI5NzUxMzU2LCJzdWIiOiJmb29AYmFyLmNvbSJ9. ', 'state': 'RkZYzBGQ3bdBRyNR', 'code': 'Xg7gOkhw73dyA9yneMLy2bHOoaeS-7uejD-Qrq-0phc.VDUwKYn-daDwUxsAUBJUlCNUAj7chOfi_XHFsqfTLBk'}
2.818 AuthorizationResponse {
    "code": "Xg7gOkhw73dyA9yneMLy2bHOoaeS-7uejD-Qrq-0phc.VDUwKYn-daDwUxsAUBJUlCNUAj7chOfi_XHFsqfTLBk",
    "id_token": {
        "acr": "0",
        "aud": [
            "498b5241-dead-47e1-a3d2-83e375ffe1ac"
        ],
        "auth_time": 1529751224,
        "c_hash": "0X2VezTaP0yEtqGr8QzWpQ",
        "exp": 1529754958,
        "iat": 1529751358,
        "iss": "https://oidc-certification.ory.sh:8443/",
        "jti": "cfad7727-3d30-450e-b21c-b2c0e26eda3a",
        "nonce": "B8L2ZZLxLOYAZtSG",
        "rat": 1529751356,
        "sub": "foo@bar.com"
    },
    "state": "RkZYzBGQ3bdBRyNR"
}
2.818 phase <--<-- 4 --- AccessToken -->-->
2.818 --> request op_args: {'state': 'RkZYzBGQ3bdBRyNR'}, req_args: {'redirect_uri': 'https://op.certification.openid.net:61353/authz_cb'}
2.818 do_access_token_request kwargs:{'request_args': {'grant_type': 'authorization_code', 'state': 'RkZYzBGQ3bdBRyNR', 'code': 'Xg7gOkhw73dyA9yneMLy2bHOoaeS-7uejD-Qrq-0phc.VDUwKYn-daDwUxsAUBJUlCNUAj7chOfi_XHFsqfTLBk', 'redirect_uri': 'https://op.certification.openid.net:61353/authz_cb', 'client_id': '498b5241-dead-47e1-a3d2-83e375ffe1ac'}, 'state': 'RkZYzBGQ3bdBRyNR'}
2.818 AccessTokenRequest {
    "code": "Xg7gOkhw73dyA9yneMLy2bHOoaeS-7uejD-Qrq-0phc.VDUwKYn-daDwUxsAUBJUlCNUAj7chOfi_XHFsqfTLBk",
    "grant_type": "authorization_code",
    "redirect_uri": "https://op.certification.openid.net:61353/authz_cb",
    "state": "RkZYzBGQ3bdBRyNR"
}
2.818 request_url https://oidc-certification.ory.sh:8443/oauth2/token
2.818 request_http_args {'headers': {'Authorization': 'Basic NDk4YjUyNDEtZGVhZC00N2UxLWEzZDItODNlMzc1ZmZlMWFjOkU2UGxwYjU4NU01Mg==', 'Content-Type': 'application/x-www-form-urlencoded'}}
2.818 request code=Xg7gOkhw73dyA9yneMLy2bHOoaeS-7uejD-Qrq-0phc.VDUwKYn-daDwUxsAUBJUlCNUAj7chOfi_XHFsqfTLBk&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61353%2Fauthz_cb&grant_type=authorization_code&state=RkZYzBGQ3bdBRyNR
3.031 http response url:https://oidc-certification.ory.sh:8443/oauth2/token status_code:200
3.032 response {'id_token': 'eyJhbGciOiJSUzI1NiIsImtpZCI6InB1YmxpYzowYWNmNmM2NC00ZDU1LTQ4ODgtYWJiOS1iMmEzZjY2MWVlN2YiLCJ0eXAiOiJKV1QifQ.eyJhY3IiOiIwIiwiYXVkIjpbIjQ5OGI1MjQxLWRlYWQtNDdlMS1hM2QyLTgzZTM3NWZmZTFhYyJdLCJhdXRoX3RpbWUiOjE1Mjk3NTEyMjQsImNfaGFzaCI6IjBYMlZlelRhUDB5RXRxR3I4UXpXcFEiLCJleHAiOjE1Mjk3NTQ5NTgsImlhdCI6MTUyOTc1MTM1OSwiaXNzIjoiaHR0cHM6Ly9vaWRjLWNlcnRpZmljYXRpb24ub3J5LnNoOjg0NDMvIiwianRpIjoiN2FhYWFkZTAtYzg1OC00N2Y0LThkYjktZTVmY2JkMWEzNGI5Iiwibm9uY2UiOiJCOEwyWlpMeExPWUFadFNHIiwicmF0IjoxNTI5NzUxMzU2LCJzdWIiOiJmb29AYmFyLmNvbSJ9. ', 'token_type': 'bearer', 'expires_in': 3599, 'access_token': 'lKYANrfyyynWmfNfZ27dEkYcVrCzotId5N6Xcw18_hA.xGKycO8XtbzxX110MQyvMUKjGKt4Ik86LMm2wKuGHLA', 'scope': 'openid'}
3.035 AccessTokenResponse {
    "access_token": "lKYANrfyyynWmfNfZ27dEkYcVrCzotId5N6Xcw18_hA.xGKycO8XtbzxX110MQyvMUKjGKt4Ik86LMm2wKuGHLA",
    "expires_in": 3599,
    "id_token": {
        "acr": "0",
        "aud": [
            "498b5241-dead-47e1-a3d2-83e375ffe1ac"
        ],
        "auth_time": 1529751224,
        "c_hash": "0X2VezTaP0yEtqGr8QzWpQ",
        "exp": 1529754958,
        "iat": 1529751359,
        "iss": "https://oidc-certification.ory.sh:8443/",
        "jti": "7aaaade0-c858-47f4-8db9-e5fcbd1a34b9",
        "nonce": "B8L2ZZLxLOYAZtSG",
        "rat": 1529751356,
        "sub": "foo@bar.com"
    },
    "scope": "openid",
    "token_type": "bearer"
}
3.036 phase <--<-- 5 --- Done -->-->
3.036 end 
3.036 assertion VerifyResponse
3.036 condition verify-response: status=OK [Checks that the last response was one of a possible set of OpenID Connect Responses]
3.036 assertion UsedAcrValue
3.037 condition used-acr-value: status=WARNING, message=Used acr value: 0, preferred: ['1', '2'] [The acr value in the ID Token]
3.037 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']
