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:03:13Z

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

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.072 http response url:https://oidc-certification.ory.sh:8443/.well-known/openid-configuration status_code:200
0.073 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.073 phase <--<-- 2 --- Registration -->-->
0.074 register kwargs:{'application_name': 'OIC test tool', 'response_types': ['code 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': ['authorization_code', 'implicit'], 'application_type': 'web', 'url': 'https://oidc-certification.ory.sh:8443/clients'}
0.074 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#XceklA2a85u3ST8x"
    ],
    "response_types": [
        "code id_token token"
    ]
}
0.239 http response url:https://oidc-certification.ory.sh:8443/clients status_code:201
0.24 RegistrationResponse {
    "client_id": "c4d41867-5cf2-4e0c-bf13-d59e6108d727",
    "client_secret": "qY-a9KyEixCB",
    "client_secret_expires_at": 0,
    "contacts": [
        "roland@example.com"
    ],
    "grant_types": [
        "authorization_code",
        "implicit"
    ],
    "id": "c4d41867-5cf2-4e0c-bf13-d59e6108d727",
    "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#XceklA2a85u3ST8x"
    ],
    "response_types": [
        "code 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.24 phase <--<-- 3 --- AsyncAuthn -->-->
0.24 AuthorizationRequest {
    "acr_values": "1 2",
    "client_id": "c4d41867-5cf2-4e0c-bf13-d59e6108d727",
    "nonce": "ioNZbBqsAW6MLa7D",
    "redirect_uri": "https://op.certification.openid.net:61353/authz_cb",
    "response_type": "code id_token token",
    "scope": "openid",
    "state": "GZXqq964grTH6mUV"
}
0.241 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=c4d41867-5cf2-4e0c-bf13-d59e6108d727&state=GZXqq964grTH6mUV&acr_values=1+2&response_type=code+id_token+token&nonce=ioNZbBqsAW6MLa7D
0.241 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=c4d41867-5cf2-4e0c-bf13-d59e6108d727&state=GZXqq964grTH6mUV&acr_values=1+2&response_type=code+id_token+token&nonce=ioNZbBqsAW6MLa7D
3.058 http args {}
3.274 response URL with fragment
3.275 response access_token=Lw6PrNdVahMptebT6w2dtG7g-0-i4bPlwhan7scJ2z0.voRTh5dahdGx2vnVlKValnVs1hyRTXNKXYfKmIFzmVs&code=Pip2y37S0MerxiixoyO2z59sidLzWlvlVyrbVLf337Q.xo7fq2-tfVMadQz-CP8qtY5uOeYlswuf6i_MiAi6Es0&expires_in=3599&id_token=eyJhbGciOiJSUzI1NiIsImtpZCI6InB1YmxpYzplMjcyYTc1NS03YWUyLTQ5MGUtODJmNS02MmUwNjc4NjQxYjAiLCJ0eXAiOiJKV1QifQ.eyJhY3IiOiIwIiwiYXRfaGFzaCI6IkVaTDNhMGZuTjJrLXNNY01USWt6N3ciLCJhdWQiOlsiYzRkNDE4NjctNWNmMi00ZTBjLWJmMTMtZDU5ZTYxMDhkNzI3Il0sImF1dGhfdGltZSI6MTUyOTc1MTY5OCwiY19oYXNoIjoiNGR1Nlo2TVpPUGI1cVNLTFdNYTFTUSIsImV4cCI6MTUyOTc1NTM5MiwiaWF0IjoxNTI5NzUxNzkyLCJpc3MiOiJodHRwczovL29pZGMtY2VydGlmaWNhdGlvbi5vcnkuc2g6ODQ0My8iLCJqdGkiOiJiMGRjOWM4Zi1iOGIxLTQwZDItODE0Yy1mZWQwYWY5YWY5NTkiLCJub25jZSI6ImlvTlpiQnFzQVc2TUxhN0QiLCJyYXQiOjE1Mjk3NTE3OTAsInN1YiI6ImZvb0BiYXIuY29tIn0. &scope=openid&state=GZXqq964grTH6mUV&token_type=bearer
3.276 response {'id_token': 'eyJhbGciOiJSUzI1NiIsImtpZCI6InB1YmxpYzplMjcyYTc1NS03YWUyLTQ5MGUtODJmNS02MmUwNjc4NjQxYjAiLCJ0eXAiOiJKV1QifQ.eyJhY3IiOiIwIiwiYXRfaGFzaCI6IkVaTDNhMGZuTjJrLXNNY01USWt6N3ciLCJhdWQiOlsiYzRkNDE4NjctNWNmMi00ZTBjLWJmMTMtZDU5ZTYxMDhkNzI3Il0sImF1dGhfdGltZSI6MTUyOTc1MTY5OCwiY19oYXNoIjoiNGR1Nlo2TVpPUGI1cVNLTFdNYTFTUSIsImV4cCI6MTUyOTc1NTM5MiwiaWF0IjoxNTI5NzUxNzkyLCJpc3MiOiJodHRwczovL29pZGMtY2VydGlmaWNhdGlvbi5vcnkuc2g6ODQ0My8iLCJqdGkiOiJiMGRjOWM4Zi1iOGIxLTQwZDItODE0Yy1mZWQwYWY5YWY5NTkiLCJub25jZSI6ImlvTlpiQnFzQVc2TUxhN0QiLCJyYXQiOjE1Mjk3NTE3OTAsInN1YiI6ImZvb0BiYXIuY29tIn0. ', 'scope': 'openid', 'code': 'Pip2y37S0MerxiixoyO2z59sidLzWlvlVyrbVLf337Q.xo7fq2-tfVMadQz-CP8qtY5uOeYlswuf6i_MiAi6Es0', 'access_token': 'Lw6PrNdVahMptebT6w2dtG7g-0-i4bPlwhan7scJ2z0.voRTh5dahdGx2vnVlKValnVs1hyRTXNKXYfKmIFzmVs', 'state': 'GZXqq964grTH6mUV', 'expires_in': 3599, 'token_type': 'bearer'}
3.378 AuthorizationResponse {
    "access_token": "Lw6PrNdVahMptebT6w2dtG7g-0-i4bPlwhan7scJ2z0.voRTh5dahdGx2vnVlKValnVs1hyRTXNKXYfKmIFzmVs",
    "code": "Pip2y37S0MerxiixoyO2z59sidLzWlvlVyrbVLf337Q.xo7fq2-tfVMadQz-CP8qtY5uOeYlswuf6i_MiAi6Es0",
    "expires_in": 3599,
    "id_token": {
        "acr": "0",
        "at_hash": "EZL3a0fnN2k-sMcMTIkz7w",
        "aud": [
            "c4d41867-5cf2-4e0c-bf13-d59e6108d727"
        ],
        "auth_time": 1529751698,
        "c_hash": "4du6Z6MZOPb5qSKLWMa1SQ",
        "exp": 1529755392,
        "iat": 1529751792,
        "iss": "https://oidc-certification.ory.sh:8443/",
        "jti": "b0dc9c8f-b8b1-40d2-814c-fed0af9af959",
        "nonce": "ioNZbBqsAW6MLa7D",
        "rat": 1529751790,
        "sub": "foo@bar.com"
    },
    "scope": "openid",
    "state": "GZXqq964grTH6mUV",
    "token_type": "bearer"
}
3.378 phase <--<-- 4 --- AccessToken -->-->
3.378 --> request op_args: {'state': 'GZXqq964grTH6mUV'}, req_args: {'redirect_uri': 'https://op.certification.openid.net:61353/authz_cb'}
3.378 do_access_token_request kwargs:{'request_args': {'grant_type': 'authorization_code', 'state': 'GZXqq964grTH6mUV', 'code': 'Pip2y37S0MerxiixoyO2z59sidLzWlvlVyrbVLf337Q.xo7fq2-tfVMadQz-CP8qtY5uOeYlswuf6i_MiAi6Es0', 'redirect_uri': 'https://op.certification.openid.net:61353/authz_cb', 'client_id': 'c4d41867-5cf2-4e0c-bf13-d59e6108d727'}, 'state': 'GZXqq964grTH6mUV'}
3.378 AccessTokenRequest {
    "code": "Pip2y37S0MerxiixoyO2z59sidLzWlvlVyrbVLf337Q.xo7fq2-tfVMadQz-CP8qtY5uOeYlswuf6i_MiAi6Es0",
    "grant_type": "authorization_code",
    "redirect_uri": "https://op.certification.openid.net:61353/authz_cb",
    "state": "GZXqq964grTH6mUV"
}
3.378 request_url https://oidc-certification.ory.sh:8443/oauth2/token
3.378 request_http_args {'headers': {'Authorization': 'Basic YzRkNDE4NjctNWNmMi00ZTBjLWJmMTMtZDU5ZTYxMDhkNzI3OnFZLWE5S3lFaXhDQg==', 'Content-Type': 'application/x-www-form-urlencoded'}}
3.378 request code=Pip2y37S0MerxiixoyO2z59sidLzWlvlVyrbVLf337Q.xo7fq2-tfVMadQz-CP8qtY5uOeYlswuf6i_MiAi6Es0&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61353%2Fauthz_cb&grant_type=authorization_code&state=GZXqq964grTH6mUV
3.589 http response url:https://oidc-certification.ory.sh:8443/oauth2/token status_code:200
3.59 response {'id_token': 'eyJhbGciOiJSUzI1NiIsImtpZCI6InB1YmxpYzplMjcyYTc1NS03YWUyLTQ5MGUtODJmNS02MmUwNjc4NjQxYjAiLCJ0eXAiOiJKV1QifQ.eyJhY3IiOiIwIiwiYXRfaGFzaCI6IkVaTDNhMGZuTjJrLXNNY01USWt6N3ciLCJhdWQiOlsiYzRkNDE4NjctNWNmMi00ZTBjLWJmMTMtZDU5ZTYxMDhkNzI3Il0sImF1dGhfdGltZSI6MTUyOTc1MTY5OCwiY19oYXNoIjoiNGR1Nlo2TVpPUGI1cVNLTFdNYTFTUSIsImV4cCI6MTUyOTc1NTM5MiwiaWF0IjoxNTI5NzUxNzkzLCJpc3MiOiJodHRwczovL29pZGMtY2VydGlmaWNhdGlvbi5vcnkuc2g6ODQ0My8iLCJqdGkiOiI2MDNkZTQ4MS01MTMyLTQ2OWYtOTA2Zi1lMzc4ZTA4MWU1ZDUiLCJub25jZSI6ImlvTlpiQnFzQVc2TUxhN0QiLCJyYXQiOjE1Mjk3NTE3OTAsInN1YiI6ImZvb0BiYXIuY29tIn0. ', 'token_type': 'bearer', 'expires_in': 3599, 'access_token': 'THTRNfDytmy3u5_bJXLpQMVWYiO9w0DwVixtbc7e6LQ.4P0YqDctztemAKXL3RrIHHDZwB-rsvjHYcby7XJmiOM', 'scope': 'openid'}
3.594 AccessTokenResponse {
    "access_token": "THTRNfDytmy3u5_bJXLpQMVWYiO9w0DwVixtbc7e6LQ.4P0YqDctztemAKXL3RrIHHDZwB-rsvjHYcby7XJmiOM",
    "expires_in": 3599,
    "id_token": {
        "acr": "0",
        "at_hash": "EZL3a0fnN2k-sMcMTIkz7w",
        "aud": [
            "c4d41867-5cf2-4e0c-bf13-d59e6108d727"
        ],
        "auth_time": 1529751698,
        "c_hash": "4du6Z6MZOPb5qSKLWMa1SQ",
        "exp": 1529755392,
        "iat": 1529751793,
        "iss": "https://oidc-certification.ory.sh:8443/",
        "jti": "603de481-5132-469f-906f-e378e081e5d5",
        "nonce": "ioNZbBqsAW6MLa7D",
        "rat": 1529751790,
        "sub": "foo@bar.com"
    },
    "scope": "openid",
    "token_type": "bearer"
}
3.594 phase <--<-- 5 --- Done -->-->
3.594 end 
3.595 assertion VerifyResponse
3.595 condition verify-response: status=OK [Checks that the last response was one of a possible set of OpenID Connect Responses]
3.595 assertion UsedAcrValue
3.595 condition used-acr-value: status=WARNING, message=Used acr value: 0, preferred: ['1', '2'] [The acr value in the ID Token]
3.595 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']
