ecphp / cas-bundle

CAS Bundle, a standard Symfony bundle for authentication using CAS protocol.
https://ecphp-cas-bundle.readthedocs.io
BSD 3-Clause "New" or "Revised" License
43 stars 9 forks source link

Cas Validation Failed Proxy Authentication #55

Closed habib-halaoui closed 3 years ago

habib-halaoui commented 3 years ago

Hi, I'm using proxy authnetication with herokuapp and after the validation of proxy , i get tis error

[2021-10-25T15:51:25.637162+00:00] http_client.INFO: Response: "200 https://heroku-cas-server.herokuapp.com/cas/p3/proxyValidate?ticket=ST-14-k9SebkLJWwYebTLCeUrJI6qMzX4-44ffe579-5460-458c-a59f-b7bfd1c70940&foo=bar&format=JSON&pgtUrl=https%3A%2F%2Fpreprod-portal.fr%2Fcas%2Fproxy%2Fcallback&service=https%3A%2F%2Fpreprod-portal.fr%2Fhome" [] [] [2021-10-25T15:51:25.638824+00:00] app.DEBUG: Response normalization succeeded. {"body":"{\"serviceResponse\":{\"authenticationSuccess\":{\"user\":\"casuser\",\"proxyGrantingTicket\":\"PGTIOU-14-SC5RWIh77kntu-Xx-EqrsvtPliKIU4entQhA4AlZoGUnB1Q3HcfuyWxBb5Sgvo-mu-Q-44ffe579-5460-458c-a59f-b7bfd1c70940\",\"attributes\":{\"credentialType\":[\"UsernamePasswordCredential\"],\"isFromNewLogin\":[true],\"authenticationDate\":[1635172773.733528],\"authenticationMethod\":[\"Static Credentials\"],\"successfulAuthenticationHandlers\":[\"Static Credentials\"],\"longTermAuthenticationRequestTokenUsed\":[false]}}}}"} [] [2021-10-25T15:51:25.640360+00:00] app.ERROR: CAS validation failed: pgtIou not found in the cache. {"pgtIou":"PGTIOU-14-SC5RWIh77kntu-Xx-EqrsvtPliKIU4entQhA4AlZoGUnB1Q3HcfuyWxBb5Sgvo-mu-Q-44ffe579-5460-458c-a59f-b7bfd1c70940"} [] [2021-10-25T15:51:25.641120+00:00] app.ERROR: Unable to authenticate the user. [] [] [2021-10-25T15:51:25.641987+00:00] security.INFO: Authenticator failed. {"exception":"[object] (Symfony\Component\Security\Core\Exception\AuthenticationException(code: 0): Unable to authenticate the user with such service ticket. at /var/www/vhosts/preprod-portal.fr/git/portal/vendor/ecphp/cas-bundle/src/Security/CasGuardAuthenticator.php:78)","authenticator":"Symfony\Component\Security\Guard\Authenticator\GuardBridgeAuthenticator"} [] [2021-10-25T15:51:25.643019+00:00] security.DEBUG: The "Symfony\Component\Security\Guard\Authenticator\GuardBridgeAuthenticator" authenticator set the failure response. {"authenticator":"Symfony\Component\Security\Guard\Authenticator\GuardBridgeAuthenticator"} [] [2021-10-25T15:51:25.643371+00:00] security.DEBUG: The "Symfony\Component\Security\Guard\Authenticator\GuardBridgeAuthenticator" authenticator set the response. Any later authenticator will not be called {"authenticator":"Symfony\Component\Security\Guard\Authenticator\GuardBridgeAuthenticator"}

Could you help us solve this problem please?

Regards

drupol commented 3 years ago

Closing the issue.

Cause: Spamming the contributors by email.