Keycloak FastAPI Integration

Community

Secure FastAPI with Keycloak SSO

Authormarkus41
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill simplifies the integration of Keycloak for robust authentication and authorization in FastAPI applications, enabling Single Sign-On (SSO) and role-based access control.

Core Features & Use Cases

  • OIDC/OAuth2 Integration: Seamlessly connect FastAPI with Keycloak using standard protocols.
  • JWT Validation: Securely validate access tokens issued by Keycloak.
  • Role-Based Access Control: Implement fine-grained access control based on user roles defined in Keycloak.
  • Use Case: Protect your API endpoints, ensuring only authenticated users with the correct roles can access sensitive data or perform specific actions.

Quick Start

Use the Keycloak FastAPI Integration skill to protect the '/api/v1/profile' endpoint with JWT validation.

Dependency Matrix

Required Modules

None required

Components

scriptsreferences

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: Keycloak FastAPI Integration
Download link: https://github.com/markus41/claude/archive/main.zip#keycloak-fastapi-integration

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.