This directory contains a number of examples for Keycloak.
This is the our main example, which shows Login, Single-Sign On, Single-Sign Out and OAuth Token Grant. The demo comes in two flavours:
- Preconfigured - Use this flavour to quickly deploy the demo to a local Keycloak server without having to configure anything other than importing the realm settings into Keycloak
- Unconfigured - Use this flavour to manually configure and deploy the demo to either a local or external Keycloak server
For more information look at preconfigured-demo/README.md
or unconfigured-demo/README.md
. For the unconfigured-demo there's an accompanying screencast at http://keycloak.org/docs that walks you through the setup process.
Example using the Admin Client. For more information look at admin-client/README.md
.
Example Cordova application. For more information look at cordova/README.md
.
Example CORS application. For more information look at cors/README.md
.
Example JavaScript application that let's you experiment with the JavaScript adapter. For more information look at js-console/README.md
.
Example providers for Event Listener SPI, Event Store SPI and User Federation SPI. For more information look at:
- Event Listener that outputs event detalis to sysout -
providers/event-listener-sysout/README.md
- Event Store that stores events in memory -
providers/event-store-mem/README.md
- User Federation that loads users from a text file -
providers/federation-provider/README.md
Example themes to change the look and feel of login forms, account management console and admin console. For more information look at themes/README.md
.
A complete application, showing how to achieve multi tenancy of web applications by using one realm per account. For more information look at multi-tenant/README.md
Example REST application configured to support both basic authentication with username/password as well as authentication with bearer token. For more information look at basic-auth/README.md
This is set of demo applications, showing how to secure your own web applications running inside OSGI environment in JBoss Fuse or Apache Karaf. Fore more information look at fuse/README.md
This is set of demo applications, showing how to secure your own SAML web applications. Fore more information look at saml/README.md