Code Monkey home page Code Monkey logo

keycloak-churchtools-totp-provider's Introduction

Church Tools TOTP Erweiterung für Keycloak

Mit dieser Erweiterung kann man sich mit dem Church Tools TOTP (2. Faktor) in Keycloak als OpenID Connect Client einloggen.

Vorbereitung

  1. Installieren des Church Tools Storage Providers https://github.com/canchanchara/keycloak-churchtools-storage-provider

Installation

Church Tools Credentials

Die Churchtools spezifischen Daten wie die Instanz und Username/Passwort eines Adminusers sind in der keycloak.conf Datei zu hinterlegen.

keycloak/conf/keycloak.conf

spi-credential-churchtools-totp-instance=churchtoolsname
spi-credential-churchtools-totp-username=adminuser
spi-credential-churchtools-totp-password=adminpassword

Jar Installation

Die jar Datei aus dem Targetverzeichnis muss in das providers Verzeichnis von keycloak kopiert werden. Alternativ kann man das jar aus dem Gitrepo Release Verzeichnis nutzen.

cp target/totp-churchtools.jar keycloak/providers

Theme / TOTP Formular

Der Ordner churchtheme muss nach /themes/churchtheme kopiert werden.

Keycloak muss danach neu gestartet werden.

Konfiguration in Keycloak

  • Realm auswählen (zb. Church)
  • Authentication im Menü wählen
  • browser Flow kopieren (zb. zu Church-Browser)
  • OTP Form löschen
  • Step "Church Tools TOTP" hinzufügen.
    • Alias und Cookie Zeit konfigurieren
    • Requirement: Required
  • Client auswählen
    • Advanced Reiter wählen
    • ganz unten "Authentication flow overrides" -> Browser Flow auswählen

Wenn man sich nun einloggt, sollte nach dem User/Passwort das TOTP abgefragt werden.

Lokal bauen

Das Projekt kann mit Java 17 und Maven gebaut werden.

mvn clean install

keycloak-churchtools-totp-provider's People

Contributors

canchanchara avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.