百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
K

keycloak-adaptive-authn

> 编程语言
开源

Keycloak 适应性认证扩展

100 stars0 点赞3 次浏览
访问官网GitHub

工具介绍

Keycloak 适应性认证扩展

Keycloak Adaptive Authentication

  • Change authentication requirements in real-time based on wider context
  • Strengthen security - Require MORE factors when user attempt is suspicious or accessing sensitive resources
  • Better User Experience - Require LESS factors when risk of fraudulent user is low
  • Integration with remote services - For more information about the user or helping evaluating data via remote services
  • Gather more information about user in a secure way
  • Uses Risk-based authentication
  • Uses AI services for more complex risk evaluations

Supported AI Engines

  OpenAI ChatGPT

  Default model: gpt-4o-mini







  
    
  


  Anthropic Claude

  Default model: claude-haiku-4-5-20251001







  
    
  


  Google Gemini (free tier available)

  Default model: gemini-2.5-flash-lite







  
    
  


  OpenRouter (extension)

  Model: set via OPENROUTER_API_MODEL







  
    
  


  IBM Granite (deprecated)

  Default model: granite-8b-code-instruct-128k

Risk is evaluated locally as much as possible. AI engines are only used for complex evaluations that require deeper contextual analysis. Since AI services are external dependencies, all user data (IP addresses, device info) is automatically anonymized before being sent to prevent information leakage. See Privacy and Anonymization Guide for details.

For more information and setup, see the AI Integration Guide.

Supported Keycloak Versions

Keycloak Version Supported
26.7.x Yes
26.6.x Yes
26.5.x Testing ended June 2026
main (nightly) Yes

Getting Started

Build and try it out locally:

bash
./mvnw clean install -DskipTests -Pbuild-distribution
./mvnw exec:exec@copy-extensions exec:exec@start-server

The generated JAR (core/target/keycloak-adaptive-authn-*.jar) can be added to the /providers folder of your Keycloak distribution with additional JARs as extensions from the /extensions module. The core JAR is also available as a Maven package:

xml

    io.github.mabartos
    keycloak-adaptive-authn
    ${version}
    jar

For full build instructions, installation options, and configuration, see the Start Guide.

Risk Evaluators

See EVALUATORS.md for a complete list of all built-in risk evaluators grouped by evaluation phase.

Resources with more info

  1. Unlocking Adaptive Authentication (most recent)
    • Keycloak DevDay @ Darmstadt, Germany 2025
    • Slides
    • Talk
  2. Adaptive Authentication
    • KeyConf24 @ Vienna, Austria 2024
    • Slides
    • Talk
    • Demo
  3. AI-powered Keycloak
    • OpenShiftAI Roadshow @ Bratislava, Slovakia 2024
    • Slides
  4. Adaptive Authentication
    • Master's thesis completed 2024
    • (Information might differ)
    • Document

Connected Authentication Policies

NOTE: Authentication policies that were part of this Adaptive authentication initiative were moved to repository mabartos/keycloak-authn-policies.

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Java

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言