internal/certification/IT.F.T.T.s/OP-Response-id_token+token.txt
Test tool version: 2.1.3
Issuer: https://oidc-certification.ory.sh:8443/
Profile: []
Test ID: OP-Response-id_token+token
Test description: Request with response_type=id_token token
Timestamp: 2018-06-23T11:21:40Z
============================================================
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.434 http response url:https://oidc-certification.ory.sh:8443/.well-known/openid-configuration status_code:200
0.436 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.436 phase <--<-- 2 --- Registration -->-->
0.436 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.436 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#D0ZHxpdw7CYePHse"
],
"response_types": [
"id_token token"
]
}
0.656 http response url:https://oidc-certification.ory.sh:8443/clients status_code:201
0.657 RegistrationResponse {
"client_id": "eaa7ef2d-f729-445e-af60-b25ab1655ba9",
"client_secret": "z915PoHwaL-s",
"client_secret_expires_at": 0,
"contacts": [
"roland@example.com"
],
"grant_types": [
"implicit"
],
"id": "eaa7ef2d-f729-445e-af60-b25ab1655ba9",
"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#D0ZHxpdw7CYePHse"
],
"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.657 phase <--<-- 3 --- AsyncAuthn -->-->
0.658 AuthorizationRequest {
"client_id": "eaa7ef2d-f729-445e-af60-b25ab1655ba9",
"nonce": "4NYPEpq5MIoAttgJ",
"redirect_uri": "https://op.certification.openid.net:61353/authz_cb",
"response_type": "id_token token",
"scope": "openid",
"state": "bIryac8DwZNcSQsq"
}
0.658 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=eaa7ef2d-f729-445e-af60-b25ab1655ba9&state=bIryac8DwZNcSQsq&response_type=id_token+token&nonce=4NYPEpq5MIoAttgJ
0.658 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=eaa7ef2d-f729-445e-af60-b25ab1655ba9&state=bIryac8DwZNcSQsq&response_type=id_token+token&nonce=4NYPEpq5MIoAttgJ
3.357 http args {}
3.53 response URL with fragment
3.531 response access_token=SYqFfh5omnTHkpTpNvY7Xc8PuKHOp-H5qD_V_2L-c34.TCiF3Br3rQtattdngBeyqKjP71NqH2dgyEm9aUjl1pY&expires_in=3599&id_token=eyJhbGciOiJSUzI1NiIsImtpZCI6InB1YmxpYzo0YWU0OWJmNC05ZGEwLTRhODItYmNjZS04OTNjMzcyOWYyMmEiLCJ0eXAiOiJKV1QifQ.eyJhdF9oYXNoIjoiTTdjM19sYlU2OW1ZY201eDRTTFZLdyIsImF1ZCI6WyJlYWE3ZWYyZC1mNzI5LTQ0NWUtYWY2MC1iMjVhYjE2NTViYTkiXSwiYXV0aF90aW1lIjoxNTI5NzUyODIwLCJleHAiOjE1Mjk3NTY1MDAsImlhdCI6MTUyOTc1MjkwMCwiaXNzIjoiaHR0cHM6Ly9vaWRjLWNlcnRpZmljYXRpb24ub3J5LnNoOjg0NDMvIiwianRpIjoiYWQ4MTUxYjYtMTlhYi00ZGFjLTlhMWMtZjNiMTYyZjM1MTlmIiwibm9uY2UiOiI0TllQRXBxNU1Jb0F0dGdKIiwicmF0IjoxNTI5NzUyODk3LCJzdWIiOiJmb29AYmFyLmNvbSJ9.MHcQbDoJ6HsFMtLf4cOEJz6yICTk_T4sKRMrkNA0VY9FA2y5qef1tQWiJo52AP-7w2VRW_s84IGDH9gdNb-6EZJZV9sfxD4iqdnwiSOqqZpr0yFEb-1tomsBGXUy9Y73mpLa3oJYPWtjm9hKnu724YJ0GqO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FyLmNvbSJ9.MHcQbDoJ6HsFMtLf4cOEJz6yICTk_T4sKRMrkNA0VY9FA2y5qef1tQWiJo52AP-7w2VRW_s84IGDH9gdNb-6EZJZV9sfxD4iqdnwiSOqqZpr0yFEb-1tomsBGXUy9Y73mpLa3oJYPWtjm9hKnu724YJ0GqOE2VQLZG1flZr0Z2bBOcbtjZBPhb7-KDSCJvHLPlLM6hlo86au5Vhj5FGyEYWoc2df9y1sXrKNjeX80z7YjlITphiSwSeDL3hzrMHONl9Cl7I5_r-R2JcN2kEHvk9b0Dj61IC9gjvgDf8dqnE6mu1SHXZFXcif4e6gGH5ogEjuAGndKMkceKZw9qCxK2A0LB05l8jLRCAWtb2gTE1LKJ3x9MXb8OkYMtsvEzekw6Ox2qpYULEwyV5qdAyJT3SDhipoH5toUWsGxCTMo_nEuqapX5a27HCNaBOYSdJDR6-v2xr383lHYAJEdcKl93lvNCoNmEOaw1U_jjSGU8ri4j_dSfmzLaY2dIVPZToJGmoIZ5qrJACsnUrJVE1BHVrdzlJx6dJcKWauYajMLaPVTuRkGYVUvWkmyRTTOOlDSxesnfIfp6K9cc4FRothbjfNZiMcTzspbqpalcn51Q48PtsrtHTowcDoAoMTrl9rKmQoZo6-2E-WAjWKoyuXwIsDGxd2Xw40t_GbGozSwpU', 'scope': 'openid', 'access_token': 'SYqFfh5omnTHkpTpNvY7Xc8PuKHOp-H5qD_V_2L-c34.TCiF3Br3rQtattdngBeyqKjP71NqH2dgyEm9aUjl1pY', 'state': 'bIryac8DwZNcSQsq', 'expires_in': 3599, 'token_type': 'bearer'}
3.646 AuthorizationResponse {
"access_token": "SYqFfh5omnTHkpTpNvY7Xc8PuKHOp-H5qD_V_2L-c34.TCiF3Br3rQtattdngBeyqKjP71NqH2dgyEm9aUjl1pY",
"expires_in": 3599,
"id_token": {
"at_hash": "M7c3_lbU69mYcm5x4SLVKw",
"aud": [
"eaa7ef2d-f729-445e-af60-b25ab1655ba9"
],
"auth_time": 1529752820,
"exp": 1529756500,
"iat": 1529752900,
"iss": "https://oidc-certification.ory.sh:8443/",
"jti": "ad8151b6-19ab-4dac-9a1c-f3b162f3519f",
"nonce": "4NYPEpq5MIoAttgJ",
"rat": 1529752897,
"sub": "foo@bar.com"
},
"scope": "openid",
"state": "bIryac8DwZNcSQsq",
"token_type": "bearer"
}
3.647 phase <--<-- 4 --- Done -->-->
3.647 end
3.647 assertion VerifyAuthnResponse
3.647 condition verify-authn-response: status=OK [Checks that the last response was a JSON encoded authentication message]
3.647 condition Done: status=OK
============================================================
Conditions
verify-authn-response: status=OK [Checks that the last response was a JSON encoded authentication message]
Done: status=OK
============================================================
RESULT: PASSED