How to connect an Express app with Azure DB for PostgreSQL using Entra ID?

Shobhit 0 Reputation points
2024-10-14T06:32:03.3633333+00:00

We are trying to connect to our DB using Sequelize with the help of Entra ID and token as a password.

Is there any better way where we don't have to reset our DB connection every hour?

Currently we are using the API to get new token every 55 minutes and use it as password for DB connection which resets our DB connection

Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
21,812 questions
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.