https://github.com/brakmic/keycloak-pkce-cpp
Keycloak-PKCE C++ Library
https://github.com/brakmic/keycloak-pkce-cpp
authentication cpp iam identity keycloak oauth2 pkce security
Last synced: 4 months ago
JSON representation
Keycloak-PKCE C++ Library
- Host: GitHub
- URL: https://github.com/brakmic/keycloak-pkce-cpp
- Owner: brakmic
- License: mit
- Created: 2025-02-27T00:42:27.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2025-02-28T21:21:45.000Z (7 months ago)
- Last Synced: 2025-02-28T23:58:53.627Z (7 months ago)
- Topics: authentication, cpp, iam, identity, keycloak, oauth2, pkce, security
- Language: C++
- Homepage: https://blog.brakmic.com/writing-a-keycloak-pkce-library-in-c/
- Size: 165 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Keycloak PKCE Authentication Library
## Overview
A C++ library implementing OAuth2 PKCE (Proof Key for Code Exchange) authentication flow for secure client-side authentication with Keycloak servers.## Key Features
- Full OAuth2 PKCE flow implementation
- TLS/SSL support with certificate management
- Cookie-based session handling
- State management for CSRF protection
- Proxy support for development environments
- Thread-safe operations
- Comprehensive error handling## Language Support
- Core implementation in modern C++ (C++23)
- C API wrapper for language interoperability (C99)
- Language bindings available for:
- Python (via ctypes)
- Lua (via LuaJIT FFI)## Index
### 1. Integration Guides
- [C API Usage](./docs/c_integration.md)
- [Python Integration](./docs/python_integration.md)
- [Lua Integration](./docs/lua_integration.md)
- [Web Server Integration Examples](./wrappers/)### 4. Technical Documentation
- [Architecture Overview](./docs/architecture.md)
- Security Considerations
- [API Reference](./docs/api_reference.md)
- Configuration Reference
- Error Handling### 5. Development
- [Building from Source](./docs/building.md)
- [Running Tests](./docs/testing.md)
- Contributing Guidelines
- Code Style Guide