/http4s-pac4j-demo

Http4s demo to test the http4s-pac4j security library

Primary LanguageScalaApache License 2.0Apache-2.0

This http4s-pac4j-demo project is an Http4s application to test the http4s-pac4j security library with various authentication mechanisms: Facebook, Twitter, form, basic auth, CAS, SAML, OpenID Connect, JWT...

Start & test

Build the project and launch the Http4s app on http://localhost:8080:

cd http4s-pac4j-demo
sbt clean compile run

To test, you can call a protected url by clicking on the "Protected url by xxx" link, which will start the authentication process with the xxx provider.