Skip to content

Proxy Supported

Pre-release
Pre-release
Compare
Choose a tag to compare
@leo108 leo108 released this 29 Oct 14:39
· 24 commits to master since this release

Laravel CAS Server now support for proxy of CAS protocol, this is a RC version.

Notice: there are breaking changes between 1.x and 2.x, if you need to upgrade 1.x to 2.x, you can follow these steps:

  1. Leo108\CAS\Contracts\Interactions\UserLogin interface has breaking changes, methods showAuthenticateFailed/showLoggedOut were added, the parameters and return type of login and logout have been changed.
  2. route name login_page has been renamed to login.get.
  3. services table added a column named allow_proxy, you may need to handle it when creating/updating service records.
  4. you need to execute php artisan vendor:publish --provider="Leo108\CAS\CASServerServiceProvider" --force to publish new migrations and config file, and then execute php artisan migrate to migrate database changes.