Test tool version: 2.1.3
Issuer: https://oidc-certification.ory.sh:8443/
Profile: []
Test ID: OP-UserInfo-Endpoint
Test description: UserInfo Endpoint access with GET and bearer header
Timestamp: 2018-06-23T10:52:49Z

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

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': ['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.075 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#exjfersS8oAONTfg"
    ],
    "response_types": [
        "code id_token"
    ]
}
0.229 http response url:https://oidc-certification.ory.sh:8443/clients status_code:201
0.23 RegistrationResponse {
    "client_id": "a5f5ee28-177e-4892-b908-5dc0f258c626",
    "client_secret": "5hCrFnoJIfIK",
    "client_secret_expires_at": 0,
    "contacts": [
        "roland@example.com"
    ],
    "grant_types": [
        "authorization_code",
        "implicit"
    ],
    "id": "a5f5ee28-177e-4892-b908-5dc0f258c626",
    "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#exjfersS8oAONTfg"
    ],
    "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.23 phase <--<-- 3 --- AsyncAuthn -->-->
0.231 AuthorizationRequest {
    "client_id": "a5f5ee28-177e-4892-b908-5dc0f258c626",
    "nonce": "DHAYKfNXZ7AYFwx7",
    "redirect_uri": "https://op.certification.openid.net:61353/authz_cb",
    "response_type": "code id_token",
    "scope": "openid",
    "state": "cHplUcn5U2bqlgsd"
}
0.231 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=a5f5ee28-177e-4892-b908-5dc0f258c626&state=cHplUcn5U2bqlgsd&response_type=code+id_token&nonce=DHAYKfNXZ7AYFwx7
0.231 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=a5f5ee28-177e-4892-b908-5dc0f258c626&state=cHplUcn5U2bqlgsd&response_type=code+id_token&nonce=DHAYKfNXZ7AYFwx7
2.729 http args {}
2.898 response URL with fragment
2.898 response code=lWRqMGRjwbA__qQKD4LU2obJI5-PL5td76XqfQ9o0K4.RpH7yngXawDRTfXo6wH4GxJOov5SrxswshipOAoNfcM&id_token=eyJhbGciOiJSUzI1NiIsImtpZCI6InB1YmxpYzowYWNmNmM2NC00ZDU1LTQ4ODgtYWJiOS1iMmEzZjY2MWVlN2YiLCJ0eXAiOiJKV1QifQ.eyJhdWQiOlsiYTVmNWVlMjgtMTc3ZS00ODkyLWI5MDgtNWRjMGYyNThjNjI2Il0sImF1dGhfdGltZSI6MTUyOTc1MDk3NSwiY19oYXNoIjoiR1U1aVd2VHlraHVZUWtRSklqZktGdyIsImV4cCI6MTUyOTc1NDc2OSwiaWF0IjoxNTI5NzUxMTY5LCJpc3MiOiJodHRwczovL29pZGMtY2VydGlmaWNhdGlvbi5vcnkuc2g6ODQ0My8iLCJqdGkiOiJmMTM0ODQ4Zi0wYWZiLTRhMTgtOTE3MC1jNjg5N2ViMTdmYzkiLCJub25jZSI6IkRIQVlLZk5YWjdBWUZ3eDciLCJyYXQiOjE1Mjk3NTExNjYsInN1YiI6ImZvb0BiYXIuY29tIn0. &state=cHplUcn5U2bqlgsd
2.899 response {'id_token': 'eyJhbGciOiJSUzI1NiIsImtpZCI6InB1YmxpYzowYWNmNmM2NC00ZDU1LTQ4ODgtYWJiOS1iMmEzZjY2MWVlN2YiLCJ0eXAiOiJKV1QifQ.eyJhdWQiOlsiYTVmNWVlMjgtMTc3ZS00ODkyLWI5MDgtNWRjMGYyNThjNjI2Il0sImF1dGhfdGltZSI6MTUyOTc1MDk3NSwiY19oYXNoIjoiR1U1aVd2VHlraHVZUWtRSklqZktGdyIsImV4cCI6MTUyOTc1NDc2OSwiaWF0IjoxNTI5NzUxMTY5LCJpc3MiOiJodHRwczovL29pZGMtY2VydGlmaWNhdGlvbi5vcnkuc2g6ODQ0My8iLCJqdGkiOiJmMTM0ODQ4Zi0wYWZiLTRhMTgtOTE3MC1jNjg5N2ViMTdmYzkiLCJub25jZSI6IkRIQVlLZk5YWjdBWUZ3eDciLCJyYXQiOjE1Mjk3NTExNjYsInN1YiI6ImZvb0BiYXIuY29tIn0. ', 'state': 'cHplUcn5U2bqlgsd', 'code': 'lWRqMGRjwbA__qQKD4LU2obJI5-PL5td76XqfQ9o0K4.RpH7yngXawDRTfXo6wH4GxJOov5SrxswshipOAoNfcM'}
2.978 AuthorizationResponse {
    "code": "lWRqMGRjwbA__qQKD4LU2obJI5-PL5td76XqfQ9o0K4.RpH7yngXawDRTfXo6wH4GxJOov5SrxswshipOAoNfcM",
    "id_token": {
        "aud": [
            "a5f5ee28-177e-4892-b908-5dc0f258c626"
        ],
        "auth_time": 1529750975,
        "c_hash": "GU5iWvTykhuYQkQJIjfKFw",
        "exp": 1529754769,
        "iat": 1529751169,
        "iss": "https://oidc-certification.ory.sh:8443/",
        "jti": "f134848f-0afb-4a18-9170-c6897eb17fc9",
        "nonce": "DHAYKfNXZ7AYFwx7",
        "rat": 1529751166,
        "sub": "foo@bar.com"
    },
    "state": "cHplUcn5U2bqlgsd"
}
2.978 phase <--<-- 4 --- AccessToken -->-->
2.978 --> request op_args: {'state': 'cHplUcn5U2bqlgsd'}, req_args: {'redirect_uri': 'https://op.certification.openid.net:61353/authz_cb'}
2.978 do_access_token_request kwargs:{'request_args': {'grant_type': 'authorization_code', 'state': 'cHplUcn5U2bqlgsd', 'code': 'lWRqMGRjwbA__qQKD4LU2obJI5-PL5td76XqfQ9o0K4.RpH7yngXawDRTfXo6wH4GxJOov5SrxswshipOAoNfcM', 'redirect_uri': 'https://op.certification.openid.net:61353/authz_cb', 'client_id': 'a5f5ee28-177e-4892-b908-5dc0f258c626'}, 'state': 'cHplUcn5U2bqlgsd'}
2.978 AccessTokenRequest {
    "code": "lWRqMGRjwbA__qQKD4LU2obJI5-PL5td76XqfQ9o0K4.RpH7yngXawDRTfXo6wH4GxJOov5SrxswshipOAoNfcM",
    "grant_type": "authorization_code",
    "redirect_uri": "https://op.certification.openid.net:61353/authz_cb",
    "state": "cHplUcn5U2bqlgsd"
}
2.979 request_url https://oidc-certification.ory.sh:8443/oauth2/token
2.979 request_http_args {'headers': {'Authorization': 'Basic YTVmNWVlMjgtMTc3ZS00ODkyLWI5MDgtNWRjMGYyNThjNjI2OjVoQ3JGbm9KSWZJSw==', 'Content-Type': 'application/x-www-form-urlencoded'}}
2.979 request code=lWRqMGRjwbA__qQKD4LU2obJI5-PL5td76XqfQ9o0K4.RpH7yngXawDRTfXo6wH4GxJOov5SrxswshipOAoNfcM&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61353%2Fauthz_cb&grant_type=authorization_code&state=cHplUcn5U2bqlgsd
3.189 http response url:https://oidc-certification.ory.sh:8443/oauth2/token status_code:200
3.19 response {'id_token': 'eyJhbGciOiJSUzI1NiIsImtpZCI6InB1YmxpYzowYWNmNmM2NC00ZDU1LTQ4ODgtYWJiOS1iMmEzZjY2MWVlN2YiLCJ0eXAiOiJKV1QifQ.eyJhdWQiOlsiYTVmNWVlMjgtMTc3ZS00ODkyLWI5MDgtNWRjMGYyNThjNjI2Il0sImF1dGhfdGltZSI6MTUyOTc1MDk3NSwiY19oYXNoIjoiR1U1aVd2VHlraHVZUWtRSklqZktGdyIsImV4cCI6MTUyOTc1NDc2OSwiaWF0IjoxNTI5NzUxMTY5LCJpc3MiOiJodHRwczovL29pZGMtY2VydGlmaWNhdGlvbi5vcnkuc2g6ODQ0My8iLCJqdGkiOiI1M2IxMmU0Yi1kNWEwLTRkYzItOGExYi1mMjM1OTZiYjE3ZTUiLCJub25jZSI6IkRIQVlLZk5YWjdBWUZ3eDciLCJyYXQiOjE1Mjk3NTExNjYsInN1YiI6ImZvb0BiYXIuY29tIn0. ', 'token_type': 'bearer', 'expires_in': 3599, 'access_token': 'DQzQkdEQQpDvsiizrN1Zd0jFQL4EOSsaRhArfo3B0CY.tAm3G_xHLupgXFWlMjm9nHkkoLmYT-wLPoBW6-rs56U', 'scope': 'openid'}
3.193 AccessTokenResponse {
    "access_token": "DQzQkdEQQpDvsiizrN1Zd0jFQL4EOSsaRhArfo3B0CY.tAm3G_xHLupgXFWlMjm9nHkkoLmYT-wLPoBW6-rs56U",
    "expires_in": 3599,
    "id_token": {
        "aud": [
            "a5f5ee28-177e-4892-b908-5dc0f258c626"
        ],
        "auth_time": 1529750975,
        "c_hash": "GU5iWvTykhuYQkQJIjfKFw",
        "exp": 1529754769,
        "iat": 1529751169,
        "iss": "https://oidc-certification.ory.sh:8443/",
        "jti": "53b12e4b-d5a0-4dc2-8a1b-f23596bb17e5",
        "nonce": "DHAYKfNXZ7AYFwx7",
        "rat": 1529751166,
        "sub": "foo@bar.com"
    },
    "scope": "openid",
    "token_type": "bearer"
}
3.193 phase <--<-- 5 --- UserInfo -->-->
3.194 do_user_info_request kwargs:{'state': 'cHplUcn5U2bqlgsd', 'method': 'GET', 'authn_method': 'bearer_header'}
3.194 request {'body': None}
3.194 request_url https://oidc-certification.ory.sh:8443/userinfo
3.194 request_http_args {'headers': {'Authorization': 'Bearer DQzQkdEQQpDvsiizrN1Zd0jFQL4EOSsaRhArfo3B0CY.tAm3G_xHLupgXFWlMjm9nHkkoLmYT-wLPoBW6-rs56U'}}
3.289 http response url:https://oidc-certification.ory.sh:8443/userinfo status_code:200
3.29 OpenIDSchema {
    "sub": "foo@bar.com"
}
3.29 OpenIDSchema {
    "sub": "foo@bar.com"
}
3.29 phase <--<-- 6 --- Done -->-->
3.29 end 
3.291 assertion VerifyResponse
3.291 condition verify-response: status=OK [Checks that the last response was one of a possible set of OpenID Connect Responses]
3.291 condition Done: status=OK



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

Conditions

verify-response: status=OK [Checks that the last response was one of a possible set of OpenID Connect Responses]
Done: status=OK



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

RESULT: PASSED
