apereo / phpCAS

Apereo PHP CAS Client
https://apereo.github.io/phpCAS/
Apache License 2.0
795 stars 396 forks source link

login with 1.6.0 wrong redirection #427

Closed imaginabit closed 1 year ago

imaginabit commented 1 year ago

In the laravel project im working we update with composer from "apereo/phpcas": "1.5.0" to 1.6.0

them when try to access to cas login the url it redirects stay on http//example.com/mylaraveldir/cas/login and show a blank page

but when I turn it back to 1.5.0 it show me the right url somehing like: https://example.com/cas/login?service=http//example.com/mylaraveldir/cas/login

and the usual cas login form, is there any change that I have to do in the configuration with the new version or is something wrong ?

phy25 commented 1 year ago

If you turn on PHP error log you should be able to see more information. However, there is a breaking change meant to address a security issue in 1.6.0: https://github.com/apereo/phpCAS/blob/master/docs/Upgrading

GitHub
phpCAS/Upgrading at master · apereo/phpCAS
Apereo PHP CAS Client. Contribute to apereo/phpCAS development by creating an account on GitHub.
phy25 commented 1 year ago

Please feel free to reopen if you have further information.