Skip to content

bcgov/keycloak-example-apps

About

Lifecycle:Stable

This repository contains example applications to demonstrate integrating with keycloak.

To use the examples in the app, you will need to have a keycloak client setup to integrate with. If you are using keycloak to integrate with a new application you will be building, you can use our our self-service webapp to create a new client.

Examples

Public

We have two example apps, which are single-page applications (SPAs) written using react and vue and are placed under ./examples/oidc/public folder. To run these example apps, you will need a public keycloak client. Each example app folder consists of a README.md file that enlists all the instructions to run the app

Confidential

We have one example app written using nodejs and express, which is placed under ./examples/oidc/confidential folder. This is a backend application that runs on a server. To run this example app, you will need a confidential keycloak client and you can find all the instructions to run the app in a README.md file under the example app directory

See the OIDC README

Playground

SAML Playground

The ./playground/public/node folder contains the SAML Playground, a Node-Express app for testing and troubleshooting SAML integrations with Keycloak.

  • This is for development and testing only
  • It helps validate SAML configuration before production
  • See the SAML Playground README for setup details

OIDC Playground

The ./playground/public-spa folder contains the OIDC Playground, a Node-Express app for testing and troubleshooting OIDC integrations with Keycloak.

  • This is for development and testing only
  • It helps validate OIDC configuration before production
  • See the OIDC Playground README for setup details

Documentation

Visit our technical documentation page for more information

About

Example applications for integrating with keycloak

Topics

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Packages

 
 
 

Contributors 7