• Stars
    star
    306
  • Rank 136,456 (Top 3 %)
  • Language
    Java
  • License
    Apache License 2.0
  • Created about 3 years ago
  • Updated about 2 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Demos, examples and playground for Keycloak extensions, providers, SPI implementations, etc.

Keycloak Extensions Demo

Demos, examples and playground for Keycloak extensions, providers, SPI implementations, etc.

CI build

Keycloak User Storage Providers

Flintstones - Demo user storage provider, providing some members of the Flintstones family in a read-only mode, from an in-memory repository.

Peanuts - Demo user storage provider, providing some members of the Peanuts family in a read-only mode, via an external API.

Keycloak Authenticators

MagicLink Authenticator - demo authenticator which sends a magic link to the user with which the user can login without needing to provide a password.

Captcha Authenticator - demo authenticator in which the user needs to solve a math task and submit the result, before successful authentication.

MFA Authenticator - very simple(!!!) demo authenticator which prints a generated OTP to stdout.

Conditional HttpHeaders Authenticator - condition for authenticators which will decide upon a header and given value (or negated value) if true/false.

Keycloak Event Listeners

Session Restrictor

Highlander - demo event listener for Keycloak, allowing only the last session to survive (Highlander mode - there must only be one!), if a user logs in on multiple browsers/devices. (This was for long time not possible in Keycloak ootb, thus this event listener; since KC v19(?) this is natively supported.)

Event Forwarder

AWS SNS Publisher - demo event listener for Keycloak, simply forwarding/publishing all events to an AWS SNS topic.

User Attribute Updater

LastLoginTime - demo event listener for Keycloak, storing the most recent login time in an user attribute.

Custom Keycloak OIDC protocol token mapper

LuckyNumberMapper - example custom token mapper for Keycloak using the OIDC protocol.

Keycloak REST endpoint/resource extension

Custom Rest Resource - demo implementation for custom REST resources within Keycloak, public (unauthenticated) and secured (authenticated) endpoints.

Custom Required Action

MobileNumberRequiredAction - example which enforces the user to update its mobile phone number, if not already set.

Custom Email Template & Sender Provider

Email Provider for custom templates in JSON format (no actual emal, but for processing through external/3rd party services) and sending emails via a vendor specific (here: AWS SES) protocol, instead of SMTP.

Custom Action Token

ActionToken t.b.d.

More Repositories

1

keycloak-reactjs-demo

Reference example for React.JS and Keycloak SSO integration.
JavaScript
475
star
2

testcontainers-keycloak

A Testcontainer implementation for Keycloak IAM & SSO.
Java
343
star
3

keycloak-2fa-sms-authenticator

Keycloak Authentication Provider implementation to get a 2nd-factor authentication with a OTP/code/token send via SMS (through AWS SNS). Demo purposes only!
Java
337
star
4

keycloak-user-spi-demo

Simple in-memory User Storage Provider SPI implementation for Keycloak. Demo purposes only!
Java
68
star
5

keycloak-session-restrictor

Simple event-listener for Keycloak which restricts the current user sessions to one (last one wins) only. Demo purposes only!
Java
57
star
6

keycloak-springboot-demo

Demo for Spring Boot and Keycloak SSO integration.
HTML
46
star
7

keycloak-bookshop-demo

Demo for how to integrate Keycloak into Quarkus and React apps and services. All (most) kinds of authentication (web app, service account, client, bearer-only...)
Java
44
star
8

ozark-react

A ViewEngine for ReactJS templates for the Java EE MVC 1.0 reference implementation Ozark.
Java
44
star
9

meteor-chat

Simple chat application built on the Meteor JavaScript Platform.
JavaScript
26
star
10

soteria-demo-mvc

Custom MVC Demo for Java EE 8 Security API (JSR-375) RI Soteria
Java
23
star
11

keycloak-aws-ses-email-provider

Drop-in Email Provider SPI replacement for Keycloak to send emails via AWS Simple Email Service (SES). Demo purposes only
Java
22
star
12

quarkus-keycloak

Demos on how to secure a Quarkus service/app with proper Keycloak authentication & doing tests with Testcontainers-Keycloak project.
Java
19
star
13

keycloak-tokenmapper-example

Example Keycloak OIDC protocol token mapper - maps a random lucky number to tokens/info endpoint - demo purposes only!
Java
17
star
14

keycloak-spi-bom

Custom Keycloak SPI BOM for extension development, maintained by @dasniko
15
star
15

keycloak-javaee-demo

Demo for Java EE and Keycloak SSO integration.
Java
14
star
16

meteor-mqtt

Meteor MQTT client using mqtt package from NPM
JavaScript
14
star
17

keycloak-workshop

Ressourcen für @dasniko's Keycloak Workshop
FreeMarker
12
star
18

keycloak-docker-aws

CSS
10
star
19

wildfly-async-redis

Demo code for comparison of async Node.js and Wildfly services.
Java
10
star
20

react-redux-example

A small and simple example app, demonstrating how to use react and redux for building webapps.
JavaScript
10
star
21

testcontainers-mailhog

Simple Demo how to test SMTP in your project using Testcontainers and Mailhog.
Java
7
star
22

keycloak-workshop-light

Ressourcen für @dasniko's Keycloak Workshop für Einsteiger
FreeMarker
6
star
23

riding-the-nashorn

Shell
5
star
24

keycloak-dev-workshop

Ressourcen für @dasniko's Keycloak Extension Development Workshop
Java
4
star
25

gatling-playground

Scala
3
star
26

keycloak-authdemo

Java
3
star
27

soteria-demo-jaxrs

JAX-RS Demo for Java EE 8 Security API (JSR-375) RI Soteria
Java
3
star
28

js4j

Shell
3
star
29

ansible-role-java

2
star
30

quarkus-workshop-2

Java
2
star
31

peanuts-api

Java
2
star
32

avatar-twitterwall

Simple twitterwall built with Project Avatar on Nashorn with JavaScript only for a JavaEE environment.
JavaScript
2
star
33

tut3c-nodyn

JavaScript
2
star
34

ehcache-search-example

Some examples for using and performance of the Ehcache Search API.
Java
2
star
35

camel-oracleaq

EAI with Apache Camel and Oracle AQ
Java
2
star
36

lambda-bash-runtime

Shell
1
star
37

spring-graphql-demo

GraphQL demo project for Spring Boot
Java
1
star
38

nashorn-spock-jasmine

Examples for testing Nashorn JavaScript with Spock and/or Jasmine
Groovy
1
star
39

beer-as-a-service

Nodyn examples with using Vert.x eventbus
JavaScript
1
star
40

dasniko

1
star
41

camel

EAI with Apache Camel
Java
1
star
42

meteor-espruino

Demo Meteor application communicating with Espruino microcontroller, using node-espruino package from NPM.
JavaScript
1
star