claudio.piffer Posted November 30 Posted November 30 Hi everyone! I'm excited to share IAMClient4D, an open-source library I've been working on for integrating OAuth2/OpenID Connect authentication in Delphi applications. **What is it?** A production-ready, strongly-typed library for OAuth2/OIDC integration with specific focus on Keycloak, but "compatible" with any RFC-compliant provider. **Key Features:** - ✅ Authorization Code Flow with PKCE (RFC 7636) - ✅ Client Credentials Flow for M2M scenarios - ✅ Complete JWT validation (signature + 12 claims) - ✅ Native Keycloak Admin API integration - ✅ User & role management (CRUD + batch operations) - ✅ DMVCFramework middleware for REST APIs - ✅ Async.Core - reusable async/await pattern for Delphi - ✅ Cross-platform: VCL, FMX, Windows, Linux, iOS, Android **Security:** - RS256/RS384/RS512 signature verification - JWKS auto-discovery with cache - AES-256 encrypted token storage - Certificate pinning support - State/nonce validation **Developer Experience:** - Fluent API with builder pattern - Strongly-typed DTOs - Docker stack included (Keycloak + PostgreSQL + Nginx) - Comprehensive documentation - Real-world examples **Use Cases:** - Enterprise SSO integration - REST API authentication - Desktop/mobile and web (uniGUI) - User management dashboards **License:** Apache 2.0 **GitHub:** https://github.com/claudio-piffer/IAMClient4D Happy coding! 🚀 1 3 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.