Jump to content

Recommended Posts

Posted

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! 🚀

  • Like 1
  • Thanks 3

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...