Skip to content

Repository files navigation

Keycloak Conditional IP Authenticator

Latest Release

Build and Release

Installation

  1. Download the release compatible with your Keycloak version from the Releases page.
  2. Place the JAR file into the providers directory of your Keycloak installation.

Usage

  1. Add a sub-flow to your authentication flow and set it to Alternative. (See Screen 1)
  2. Within the sub-flow, add another sub-flow and set it to Conditional.
  3. Add a step of type Condition to the conditional sub-flow: "Condition - IP Match".
  4. Configure the Condition - IP Match:
    • Add the IPs to match in CIDR format, with one IP per line (e.g., 192.168.0.1/24). (See Screen 2).
    • Enable Invert Logic if you want the condition to pass when no IP matches.
  5. Add the steps you want to execute when the condition passes.

Screen 1

image

Screen 2

image

About

Conditional Authenticator for Keycloak based on the client ip

Topics

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages