Skip to content

Latest commit

 

History

History
executable file
·
35 lines (24 loc) · 1.59 KB

README.md

File metadata and controls

executable file
·
35 lines (24 loc) · 1.59 KB

This cas-pac4j-oauth-demo project is a web demo for the CAS server to test authentication delegation for the OAuth, OpendID, CAS, SAML and OpenID Connect protocols. It's composed of two modules (web applications):

Start & test

To start quickly, build the project:

cd cas-pac4j-oauth-demo
mvn clean install

and launch the two web applications:

java -jar cas-pac4j-oauth-client-demo/target/cas.war

and

java -jar cas-pac4j-oauth-server-demo/target/cas2.war

To test:

  • call the http://localhost:8080/cas url and click on the appropriate login link
  • authenticate at your favorite provider (Facebook, Twitter...) or at the OAuth wrapped CAS server (jleleu/jleleu or leleuj/leleuj, url : _http://localhost:8081/cas2)
  • be redirected to the first CAS server and successfully authenticated.