Skip to content

[FEATURE] Support for OAuth2/OpenID Connect Integration (Azure Entra ID, Keycloak, etc.) in Webchat #476

@emanzat

Description

@emanzat

📋 Prerequisites

📝 Feature Summary

We would like to request the implementation of a feature that allows the webchat to integrate with an external authentication and authorization server (e.g., OAuth2, OpenID Connect).

❓ Problem Statement / Motivation

Currently, the webchat platform does not provide built-in support for user authentication or authorization via external identity providers. This limitation restricts the ability to securely manage access to the chat interface, particularly in enterprise environments where identity federation and SSO (Single Sign-On) mechanisms are required. As a result, organizations cannot leverage their existing IAM (Identity and Access Management) infrastructure, such as Azure Entra ID (formerly Azure AD), Keycloak, or other OAuth2/OpenID Connect providers, to control and audit access to the chat service.

💡 Proposed Solution

Add support for authentication and authorization via standard protocols such as OAuth 2.0 and OpenID Connect. This feature should allow administrators to configure one or more identity providers (e.g., Azure Entra ID, Keycloak, Auth0) so that users must authenticate before accessing the webchat. Key capabilities would include:

Configurable OIDC endpoints (issuer, client ID, client secret, scopes)

Redirect-based login flow

Token validation and user session handling

Role or claim-based access control
Integration hooks or events for post-login user data enrichment

This would make the webchat more suitable for enterprise use cases and align with security best practices for user identity and access management.

🔄 Alternatives Considered

No response

🎯 Affected Service(s)

None

📚 Additional Context

No response

🙋 Are you willing to contribute?

  • I am willing to submit a PR for this feature

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions