User Authentication Session Management Blueprint

Authentication flows, session management, brute-force protection

   
Feature user-authentication-session-management
Category Auth
Version 1.0.0
Tags authentication, sessions
YAML Source View on GitHub
JSON API user-authentication-session-management.json

Fields

Name Type Required Label Description
username text Yes Username Validations: required
password password Yes Password Validations: required

Rules

  • core: Authentication and session lifecycle

Outcomes

Auth_success (Priority: 5)

Given:

  • username exists null

Then:

  • emit_event event: auth.success

Result: User authenticated

Errors

Code Status Message Retry
INVALID_CREDENTIALS 401 Invalid credentials No

Events

Event Description Payload
auth.success Authentication successful username
Extensions (framework-specific hints) ```yaml source: repo: https://github.com/keycloak/keycloak project: Keycloak tech_stack: Java ```