internal/certification/IT.F.T.T.s/OP-IDToken-C-Signature.txt
Test tool version: 2.1.3
Issuer: https://oidc-certification.ory.sh:8443/
Profile: []
Test ID: OP-IDToken-C-Signature
Test description: Does the OP sign the ID Token and with what
Timestamp: 2018-06-23T11:22:14Z
============================================================
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': ['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.075 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#Yq6cKEmYDArNLZ6A"
],
"response_types": [
"id_token token"
]
}
0.229 http response url:https://oidc-certification.ory.sh:8443/clients status_code:201
0.23 RegistrationResponse {
"client_id": "77aa2531-2ba7-4e5b-be59-f32ca24963e7",
"client_secret": "BYeWZwY-SUxP",
"client_secret_expires_at": 0,
"contacts": [
"roland@example.com"
],
"grant_types": [
"implicit"
],
"id": "77aa2531-2ba7-4e5b-be59-f32ca24963e7",
"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#Yq6cKEmYDArNLZ6A"
],
"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.23 phase <--<-- 3 --- AsyncAuthn -->-->
0.23 AuthorizationRequest {
"client_id": "77aa2531-2ba7-4e5b-be59-f32ca24963e7",
"nonce": "ftHcZU0REpaAnJiw",
"redirect_uri": "https://op.certification.openid.net:61353/authz_cb",
"response_type": "id_token token",
"scope": "openid",
"state": "2vGwmwCrOFjokzSw"
}
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=77aa2531-2ba7-4e5b-be59-f32ca24963e7&state=2vGwmwCrOFjokzSw&response_type=id_token+token&nonce=ftHcZU0REpaAnJiw
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=77aa2531-2ba7-4e5b-be59-f32ca24963e7&state=2vGwmwCrOFjokzSw&response_type=id_token+token&nonce=ftHcZU0REpaAnJiw
2.543 http args {}
2.748 response URL with fragment
2.748 response access_token=yR9TLRjxU5yWGhDVZkPn-DG_VyhMufXpv-b21SOkcqo.wo7rJiKTvnQMQic-oQlrwUCgmApk8aSxmJKHAWldRBg&expires_in=3599&id_token=eyJhbGciOiJSUzI1NiIsImtpZCI6InB1YmxpYzo0YWU0OWJmNC05ZGEwLTRhODItYmNjZS04OTNjMzcyOWYyMmEiLCJ0eXAiOiJKV1QifQ.eyJhdF9oYXNoIjoiZFJpLWJySzdiV0ZwWGZBNDRwZUV0ZyIsImF1ZCI6WyI3N2FhMjUzMS0yYmE3LTRlNWItYmU1OS1mMzJjYTI0OTYzZTciXSwiYXV0aF90aW1lIjoxNTI5NzUyODIwLCJleHAiOjE1Mjk3NTY1MzQsImlhdCI6MTUyOTc1MjkzNCwiaXNzIjoiaHR0cHM6Ly9vaWRjLWNlcnRpZmljYXRpb24ub3J5LnNoOjg0NDMvIiwianRpIjoiNTc3NDJhZDgtOWU2NC00Y2UzLWJlYzktN2Q3NmVhZWU1MjkyIiwibm9uY2UiOiJmdEhjWlUwUkVwYUFuSml3IiwicmF0IjoxNTI5NzUyOTMyLCJzdWIiOiJmb29AYmFyLmNvbSJ9.PPt8TPQmLnTpHekuCOd9eF80iVj4dhlJWwsx02xtfkEUSf7bdtamsPiBuqOfbFUBcYRGVYtAtI12virfXtcYYCwTaMR64i9n4vmA4r8zrc-XkS4om7F3K7iLKOpFQdPQxYJ5GVItnT-x90pCGy1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iJmb29AYmFyLmNvbSJ9.PPt8TPQmLnTpHekuCOd9eF80iVj4dhlJWwsx02xtfkEUSf7bdtamsPiBuqOfbFUBcYRGVYtAtI12virfXtcYYCwTaMR64i9n4vmA4r8zrc-XkS4om7F3K7iLKOpFQdPQxYJ5GVItnT-x90pCGy1oMKnWjM2NCNUqINdFHYhgdaDnbxtRdYmWNKHAjcH0rmQG-G-PZiHx294ucQjf2qe82QeZhjmee-IcuU7QXnlzolhjttB8PaB8DelqZ9xDnHB-dakjtV-CCeyhAzfLTWhHrZE-hI0eSTORznFRn9wmchqHbbCNvZtXBu0xuby0JPoy_9yehX-ZgXDUlzIJ3qB18k9s-G-b9luXeUCVvXslqvDUGnyEZnyxqYiYxAlDUbqu7nVV8LPjjrBAP1DeRDwu0pMTnJqFnPfpZbOU4jW140mCyEplimwz5UTknXcCZZj1i3exeKdFZtPwsk5Q24Po9DVnw7N2VizJ3mCbAiKCSChbzy4s5i_daHQ0d5WoJFl-J7BhGCd2I77exkf_dcrTx_pXgmFcB5yIDL8Ah8tmdbyGMy_o2ACRHStY3ToKMgKLDPP71zUQHrgNTGbtcfJn3H5hgiDa0n2mkPSD9UErzvCMG1OgDN8FKA71tNlX3FoPJ1i5A1WrseSiMfvNVAw41DpUjTxX2KTuG5ZinbOMfQs', 'scope': 'openid', 'access_token': 'yR9TLRjxU5yWGhDVZkPn-DG_VyhMufXpv-b21SOkcqo.wo7rJiKTvnQMQic-oQlrwUCgmApk8aSxmJKHAWldRBg', 'state': '2vGwmwCrOFjokzSw', 'expires_in': 3599, 'token_type': 'bearer'}
2.83 AuthorizationResponse {
"access_token": "yR9TLRjxU5yWGhDVZkPn-DG_VyhMufXpv-b21SOkcqo.wo7rJiKTvnQMQic-oQlrwUCgmApk8aSxmJKHAWldRBg",
"expires_in": 3599,
"id_token": {
"at_hash": "dRi-brK7bWFpXfA44peEtg",
"aud": [
"77aa2531-2ba7-4e5b-be59-f32ca24963e7"
],
"auth_time": 1529752820,
"exp": 1529756534,
"iat": 1529752934,
"iss": "https://oidc-certification.ory.sh:8443/",
"jti": "57742ad8-9e64-4ce3-bec9-7d76eaee5292",
"nonce": "ftHcZU0REpaAnJiw",
"rat": 1529752932,
"sub": "foo@bar.com"
},
"scope": "openid",
"state": "2vGwmwCrOFjokzSw",
"token_type": "bearer"
}
2.83 phase <--<-- 4 --- AccessToken -->-->
2.83 phase <--<-- 5 --- Done -->-->
2.83 end
2.831 assertion VerifyResponse
2.831 condition verify-response: status=OK [Checks that the last response was one of a possible set of OpenID Connect Responses]
2.831 assertion IsIDTokenSigned
2.831 condition is-idtoken-signed: status=OK [Checks if the id_token is signed]
2.831 condition Done: status=OK
============================================================
Conditions
verify-response: status=OK [Checks that the last response was one of a possible set of OpenID Connect Responses]
is-idtoken-signed: status=OK [Checks if the id_token is signed]
Done: status=OK
============================================================
RESULT: PASSED