claudio.piffer Posted November 30, 2025 Posted November 30, 2025 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! 🚀 2 3 Quote
claudio.piffer Posted December 19, 2025 Author Posted December 19, 2025 Hi everyone, IAMClient4D 2.0.0 🎉 I’ve just published v2.0.0 of IAMClient4D, a Delphi library designed to integrate Keycloak / OAuth2 / OpenID Connect in a solid, production-ready way. What’s new in this major release: Synchronous API + async wrapper (cleaner server-side code, simpler UI integration) Stronger JWT validation (RS256/HS*, claim validation, JWKS caching, clock skew handling) Security hardening (important fixes in validation/claims and crypto utilities) Encrypted storage and configurable crypto providers Updated documentation: improved README, updated examples, and an official CHANGELOG. Full changelog here: https://github.com/claudio-piffer/IAMClient4D/blob/master/CHANGELOG.md 2 1 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.