Skip to content

Make optional environment variables configurable via the Twenty CRM UI #12529

Description

@dennysubke

Currently, optional environment variables related to authentication providers, email settings, and calendar integrations such as:

  • AUTH_GOOGLE_CLIENT_ID
  • AUTH_GOOGLE_CLIENT_SECRET
  • EMAIL_SMTP_HOST
  • EMAIL_SMTP_USER
  • and others

must be set externally via environment files or Docker configuration before starting the app. These variables are essential for enabling features like Google/Microsoft OAuth, SMTP email sending, and calendar integrations.

Problem

There is no option to configure these variables directly through the Twenty CRM user interface. This limitation makes managing these settings cumbersome and requires manual editing of environment files and app restarts.

Why this matters

  • It complicates setup for non-technical users.
  • It prevents dynamic changes without restarting the application.
  • It leads to user-unfriendly workarounds.

Suggested enhancement

Provide UI support within Twenty CRM for configuring optional environment variables related to external services, such as OAuth, SMTP, and calendar providers. Features might include:

  • A dedicated settings page for entering API keys and secrets.
  • Input validation for correctness.
  • Ability to apply changes dynamically without full restarts, if feasible.

This enhancement would improve usability and reduce barriers for users relying on these integrations.

Thank you for considering this feature request.


Related discussion:
This issue is also reflected in this pr where the same problem is encountered:
getumbrel/umbrel-apps#2625

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    Priority

    None yet

    Dev status

    None yet

    Start date

    None yet

    Target date

    None yet

    Quarter

    None yet

    Projects

    Status
    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions