Git Product home page Git Product logo

keycloak-remember-me-authenticator's Introduction

keycloak-remember-me-authenticator

Custom authenticator for remembering the user logging in, even if no "Remember me" flag is set. Useful in combination with identity providers, which don't allow to set the "Remember me" flag.

Compatibility

Since this package implements internal Keycloak SPIs, there's a chance this extension breaks with a new major version of Keycloak.
See compatibility list below to find the version that suits your Keycloak version.

Keycloak Version Extension Version
= 17.0.0 Verified, requires modified pom and compilation.
< 20.0.0 ⚠️ Not verified, use at your own risk.
20.*, 21.* 1.0.0
> 21 ⚠️ Not verified, use at your own risk.

Usage

Keycloak as Docker container

  1. With Keycloak running as Docker container, you'll want to build your own image.
  2. When you have your basic Dockerfile prepared, make the following adjustments:
# Install "Remember Me" authenticator
RUN curl -sL https://github.com/Herdo/keycloak-remember-me-authenticator/releases/download/v1.0.0/keycloak-remember-me-authenticator-1.0.0.jar \
    -o /opt/keycloak/providers/keycloak-remember-me-authenticator-1.0.0.jar

# Build image
RUN /opt/keycloak/bin/kc.sh build
  1. Start your custom Keycloak image as a new container.

Configuration for IdPs

  1. Open your Keycloaks admin interface and login.
  2. Navigate to Authentication.
  3. Create a new Basic flow called post idp login remember me.
  4. Add Remember Me Authenticator as Required step.
  5. Navigate to Identity providers and select your provider you want to enable the "Remember Me" function for.
  6. For the Post login flow select post idp login remember me and save.

keycloak-remember-me-authenticator's People

Contributors

herdo 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.