Skip to content

Latest commit

 

History

History
31 lines (18 loc) · 1.6 KB

README.md

File metadata and controls

31 lines (18 loc) · 1.6 KB

What is this project?

This project cas-pac4j-oauth-demo has been created to test the OAuth/OpendID/CAS support in CAS server version >= 4.0.0. It's composed of two modules:

Quick start & test

To start quickly, build the project:

mvn clean install

and start the two web applications with jetty:

cd cas-pac4j-oauth-client-demo
mvn jetty:run

To test,

  • call the http://localhost:8080/cas url and click on "Authenticate with ..." (on the CAS server configured in OAuth client mode)
  • authenticate at your favorite provider (Facebook, Twitter...) or at the OAuth wrapped CAS server (same password as login, url : http://localhost:8080/cas2)
  • be redirected to the first CAS server and successfully authenticated.

Manual deployment

You can also deploy manually these two web applications in your favorite web applications server: