Usage¶
Apereo already provides a demo CAS server without no proxy authentication mechanism enabled.
In order to test the libraries here, I’ve setup another CAS server with Proxy authentication enabled this time.
Feel free to use it for your tests.
Warning
If your client application is not hosted on a public server and in HTTPS, this won’t work.
Tip
See more on the page Development. if you want to have your own local CAS server.
The test login is casuser, password is: Mellon
Bare PHP¶
To get you started with PSR CAS in a simple bare PHP project (without using any framework), you can check the following project: drupol/psrcas-client-poc
Test the bare PHP demo application now.
Symfony¶
The PSR CAS library can be used in a Symfony (4 or 5) project through the package drupol/cas-bundle
Test the Symfony bundle demo application now.
See the documentation of the PSR CAS Bundle for more information.