index

Protected url by Facebook : facebook/index.html (use a real account)
Protected url by Facebook with ROLE_ADMIN: facebookadmin/index.html (use a real account)
Protected url by Facebook with custom authorizer (= must be a CommonProfile where the username starts with "jle"): facebookcustom/index.html (login with form or basic authentication before with jle* username)
Not protected url by using an excluding matcher: facebook/notprotected.html
Protected url by Twitter: twitter/index.html or by Facebook: twitter/index.html?client_name=FacebookClient (use a real account)
Protected url by form authentication : form/index.html (use login = pwd)
Click here to send AJAX request after performing form authentication
Protected url by basic auth : basicauth/index.html (use login = pwd)
Protected url by CAS : cas/index.html (use login = pwd)
Protected url by SAML : saml/index.html (use a real account)
Protected url by Google OpenID Connect : oidc/index.html (use a real account)
Protected url: protected/index.html (won't start any login process)
Protected url: protected/custom.html (won't start any login process, but requires a jle* username)

Generate a JWT token
Protected url by DirectBasicAuthClient: /dba/index.html (POST the Authorization header with value: Basic amxlbGV1OmpsZWxldQ==) then by ParameterClient: /dba/index.html (with request parameter: token=jwt_generated_token)
Protected url by ParameterClient: /rest-jwt/index.html (with request parameter: token=jwt_generated_token)

Token:
Force Facebook login (even if already authenticated)

local logout

central logout

profiles: #AnonymousProfile# | id: anonymous | attributes: {} | roles: [] | permissions: [] | isRemembered: false | clientName: AnonymousClient | linkedId: null |

profiles from template helper: #AnonymousProfile# | id: anonymous | attributes: {} | roles: [] | permissions: [] | isRemembered: false | clientName: AnonymousClient | linkedId: null |

sessionId: nosession



Find the source code on https://github.com/pac4j/play-pac4j-scala-demo

See it running on Heroku: https://play-pac4j-scala-demo.herokuapp.com