Giter Site home page Giter Site logo

zxm3996886 / cas-pac4j-oauth-demo Goto Github PK

View Code? Open in Web Editor NEW

This project forked from casinthecloud/cas-pac4j-oauth-demo

0.0 2.0 0.0 327 KB

Demo webapps to test CAS/OAuth/OpenID/SAML client support and OAuth server support in CAS version >= 4.0.0

Java 100.00%

cas-pac4j-oauth-demo's Introduction

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 as well as OAuth server support. It's composed of two modules (web applications):

Start & test

Build the project and launch the two web applications with jetty on http://localhost:8080:

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

To test,

  • call the http://localhost:8080/cas url and click on the appropriate "Authenticate with xxx" link at the bottom of the login page
  • 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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.