Test tool version: 2.1.3
Issuer: https://oidc-certification.ory.sh:8443/
Profile: []
Test ID: OP-UserInfo-Body
Test description: UserInfo Endpoint access with POST and bearer body
Timestamp: 2018-06-23T11:22:30Z

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

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.076 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#RTSm22k0Q0gSMkwA"
    ],
    "response_types": [
        "id_token token"
    ]
}
0.236 http response url:https://oidc-certification.ory.sh:8443/clients status_code:201
0.237 RegistrationResponse {
    "client_id": "53c2e340-6dd2-4c14-8075-d057d52ec5c4",
    "client_secret": "UPoaoy8bV2x4",
    "client_secret_expires_at": 0,
    "contacts": [
        "roland@example.com"
    ],
    "grant_types": [
        "implicit"
    ],
    "id": "53c2e340-6dd2-4c14-8075-d057d52ec5c4",
    "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#RTSm22k0Q0gSMkwA"
    ],
    "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.237 phase <--<-- 3 --- AsyncAuthn -->-->
0.238 AuthorizationRequest {
    "client_id": "53c2e340-6dd2-4c14-8075-d057d52ec5c4",
    "nonce": "6dVzL1PmcogMDNqp",
    "redirect_uri": "https://op.certification.openid.net:61353/authz_cb",
    "response_type": "id_token token",
    "scope": "openid",
    "state": "FjaNENasHBYkbjoT"
}
0.238 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=53c2e340-6dd2-4c14-8075-d057d52ec5c4&state=FjaNENasHBYkbjoT&response_type=id_token+token&nonce=6dVzL1PmcogMDNqp
0.238 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=53c2e340-6dd2-4c14-8075-d057d52ec5c4&state=FjaNENasHBYkbjoT&response_type=id_token+token&nonce=6dVzL1PmcogMDNqp
2.18 http args {}
2.398 response URL with fragment
2.398 response access_token=oAjEPqKKOXb125pc3vYoopxMst-N5dHGB23NY4AKOfI.3-fY_uLwbHEIN0_Qd6o-RXUek1DtrxAFnWOhp7Zx9mw&expires_in=3599&id_token=eyJhbGciOiJSUzI1NiIsImtpZCI6InB1YmxpYzo0YWU0OWJmNC05ZGEwLTRhODItYmNjZS04OTNjMzcyOWYyMmEiLCJ0eXAiOiJKV1QifQ.eyJhdF9oYXNoIjoiZEZRaWpCbU9ncDY4UVMxaVdITGRqUSIsImF1ZCI6WyI1M2MyZTM0MC02ZGQyLTRjMTQtODA3NS1kMDU3ZDUyZWM1YzQiXSwiYXV0aF90aW1lIjoxNTI5NzUyODIwLCJleHAiOjE1Mjk3NTY1NDksImlhdCI6MTUyOTc1Mjk0OSwiaXNzIjoiaHR0cHM6Ly9vaWRjLWNlcnRpZmljYXRpb24ub3J5LnNoOjg0NDMvIiwianRpIjoiNDAwNGYzZmItYmQ5MC00NDdmLWFiMWQtYWVlYjI1OGZjNTI1Iiwibm9uY2UiOiI2ZFZ6TDFQbWNvZ01ETnFwIiwicmF0IjoxNTI5NzUyOTQ4LCJzdWIiOiJmb29AYmFyLmNvbSJ9. &scope=openid&state=FjaNENasHBYkbjoT&token_type=bearer
2.399 response {'id_token': 'eyJhbGciOiJSUzI1NiIsImtpZCI6InB1YmxpYzo0YWU0OWJmNC05ZGEwLTRhODItYmNjZS04OTNjMzcyOWYyMmEiLCJ0eXAiOiJKV1QifQ.eyJhdF9oYXNoIjoiZEZRaWpCbU9ncDY4UVMxaVdITGRqUSIsImF1ZCI6WyI1M2MyZTM0MC02ZGQyLTRjMTQtODA3NS1kMDU3ZDUyZWM1YzQiXSwiYXV0aF90aW1lIjoxNTI5NzUyODIwLCJleHAiOjE1Mjk3NTY1NDksImlhdCI6MTUyOTc1Mjk0OSwiaXNzIjoiaHR0cHM6Ly9vaWRjLWNlcnRpZmljYXRpb24ub3J5LnNoOjg0NDMvIiwianRpIjoiNDAwNGYzZmItYmQ5MC00NDdmLWFiMWQtYWVlYjI1OGZjNTI1Iiwibm9uY2UiOiI2ZFZ6TDFQbWNvZ01ETnFwIiwicmF0IjoxNTI5NzUyOTQ4LCJzdWIiOiJmb29AYmFyLmNvbSJ9. ', 'scope': 'openid', 'access_token': 'oAjEPqKKOXb125pc3vYoopxMst-N5dHGB23NY4AKOfI.3-fY_uLwbHEIN0_Qd6o-RXUek1DtrxAFnWOhp7Zx9mw', 'state': 'FjaNENasHBYkbjoT', 'expires_in': 3599, 'token_type': 'bearer'}
2.484 AuthorizationResponse {
    "access_token": "oAjEPqKKOXb125pc3vYoopxMst-N5dHGB23NY4AKOfI.3-fY_uLwbHEIN0_Qd6o-RXUek1DtrxAFnWOhp7Zx9mw",
    "expires_in": 3599,
    "id_token": {
        "at_hash": "dFQijBmOgp68QS1iWHLdjQ",
        "aud": [
            "53c2e340-6dd2-4c14-8075-d057d52ec5c4"
        ],
        "auth_time": 1529752820,
        "exp": 1529756549,
        "iat": 1529752949,
        "iss": "https://oidc-certification.ory.sh:8443/",
        "jti": "4004f3fb-bd90-447f-ab1d-aeeb258fc525",
        "nonce": "6dVzL1PmcogMDNqp",
        "rat": 1529752948,
        "sub": "foo@bar.com"
    },
    "scope": "openid",
    "state": "FjaNENasHBYkbjoT",
    "token_type": "bearer"
}
2.484 phase <--<-- 4 --- AccessToken -->-->
2.484 phase <--<-- 5 --- UserInfo -->-->
2.484 do_user_info_request kwargs:{'state': 'FjaNENasHBYkbjoT', 'method': 'POST', 'authn_method': 'token_in_message_body'}
2.485 request {'body': 'access_token=oAjEPqKKOXb125pc3vYoopxMst-N5dHGB23NY4AKOfI.3-fY_uLwbHEIN0_Qd6o-RXUek1DtrxAFnWOhp7Zx9mw'}
2.485 request_url https://oidc-certification.ory.sh:8443/userinfo
2.485 request_http_args {'headers': {'Content-Type': 'application/x-www-form-urlencoded'}}
2.554 http response url:https://oidc-certification.ory.sh:8443/userinfo status_code:200
2.555 OpenIDSchema {
    "sub": "foo@bar.com"
}
2.555 OpenIDSchema {
    "sub": "foo@bar.com"
}
2.555 phase <--<-- 6 --- Done -->-->
2.555 end 
2.556 assertion VerifyResponse
2.556 condition verify-response: status=OK [Checks that the last response was one of a possible set of OpenID Connect Responses]
2.556 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
