Implemented
0
Support Microsoft Entra authentication for PostgreSQL
Source: twentyhq/twenty#31698 · opened by @mikkelke
Twenty can only sign in to Postgres with a static password in PG_DATABASE_URL. On Azure Database for PostgreSQL Flexible Server many teams turn password auth off and use Entra tokens, for example workload identity on AKS. Tokens expire after about an hour, so each new connection needs a fresh one.
Proposal: an opt-in env variable PG_DATABASE_AUTH_PROVIDER (PASSWORD by default, AZURE_ENTRA). With AZURE_ENTRA the server gets a token from @azure/identity DefaultAzureCredential for each new connection. Nothing changes for the default. Happy to open a PR.
Proposal: an opt-in env variable PG_DATABASE_AUTH_PROVIDER (PASSWORD by default, AZURE_ENTRA). With AZURE_ENTRA the server gets a token from @azure/identity DefaultAzureCredential for each new connection. Nothing changes for the default. Happy to open a PR.
No pledges yet. Be the first to back this.
Comments
Similar requests
Microsoft folder selection may be limited to 999 folders
0 votes · 0 comments
Calendar events are create-only: add update and delete (reschedule, cancel) for CalDAV/Google/Microsoft in the API and workflow actions
0 votes · 0 comments
Idea: Native UI for Database Backup, Export, and Import Management
3 votes · 0 comments
Enhance SAML for Rich User Provisioning
2 votes · 0 comments
Add Messagers API
4 votes · 0 comments
No comments yet.