Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.
TypeScript acmeagentsai-agentscertificate-managementdevsecopsenvironment-variableskubernetesopen-sourcepampkipostgresprivate-caprivileged-access-managementsecret-managementsecret-managersecretssecrets-managementsecuritysecurity-toolsvault
Fix azure client secrets OAuth URL to use graph instead of vault
Carlos Monastyrski0adf2c830dc8
diff --git a/docs/integrations/app-connections/azure-client-secrets.mdx b/docs/integrations/app-connections/azure-client-secrets.mdxindex fc4194c5e2..1fb1c753f9 100644--- a/docs/integrations/app-connections/azure-client-secrets.mdx+++ b/docs/integrations/app-connections/azure-client-secrets.mdx@@ -43,12 +43,6 @@ Infisical currently only supports one method for connecting to Azure, which is O- `Application.ReadWrite.All` (Delegated)- `Directory.ReadWrite.All` (Delegated)- `User.Read` (Delegated)- - Azure App Configuration- - `KeyValue.Delete` (Delegated)- - `KeyValue.Read` (Delegated)- - `KeyValue.Write` (Delegated)- - Access Key Vault- - `user_impersonation` (Delegated)@@ -63,8 +57,8 @@ Infisical currently only supports one method for connecting to Azure, which is OBack in your Infisical instance, add two new environment variables for the credentials of your Azure application.- - `INF_APP_CONNECTION_AZURE_CLIENT_ID`: The **Application (Client) ID** of your Azure application.- - `INF_APP_CONNECTION_AZURE_CLIENT_SECRET`: The **Client Secret** of your Azure application.+ - `INF_APP_CONNECTION_AZURE_CLIENT_SECRETS_CLIENT_ID`: The **Application (Client) ID** of your Azure application.+ - `INF_APP_CONNECTION_AZURE_CLIENT_SECRETS_CLIENT_SECRET`: The **Client Secret** of your Azure application.Once added, restart your Infisical instance and use the Azure Client Secrets connection.</Step>@@ -91,14 +85,6 @@ Infisical currently only supports one method for connecting to Azure, which is O- `Directory.ReadWrite.All` (Delegated)- `User.Read` (Delegated)- **Azure App Configuration**- - `KeyValue.Delete` (Delegated)- - `KeyValue.Read` (Delegated)- - `KeyValue.Write` (Delegated)-- **Access Key Vault**- - `user_impersonation` (Delegated)-</Step></Steps>diff --git a/frontend/src/pages/organization/AppConnections/AppConnectionsPage/components/AppConnectionForm/AzureClientSecretsConnectionForm.tsx b/frontend/src/pages/organization/AppConnections/AppConnectionsPage/components/AppConnectionForm/AzureClientSecretsConnectionForm.tsxindex 6aa6ee63c0..f6c5788f43 100644--- a/frontend/src/pages/organization/AppConnections/AppConnectionsPage/components/AppConnectionForm/AzureClientSecretsConnectionForm.tsx+++ b/frontend/src/pages/organization/AppConnections/AppConnectionsPage/components/AppConnectionForm/AzureClientSecretsConnectionForm.tsx@@ -132,7 +132,7 @@ export const AzureClientSecretsConnectionForm = ({ appConnection, onSubmit }: PrJSON.stringify({ ...formData, connectionId: appConnection?.id }));window.location.assign(- `https://login.microsoftonline.com/${formData.tenantId || "common"}/oauth2/v2.0/authorize?client_id=${oauthClientId}&response_type=code&redirect_uri=${window.location.origin}/organization/app-connections/azure/oauth/callback&response_mode=query&scope=https://azconfig.io/.default%20openid%20offline_access&state=${state}<:>azure-client-secrets`+ `https://login.microsoftonline.com/${formData.tenantId || "common"}/oauth2/v2.0/authorize?client_id=${oauthClientId}&response_type=code&redirect_uri=${window.location.origin}/organization/app-connections/azure/oauth/callback&response_mode=query&scope=https://graph.microsoft.com/.default%20openid%20offline_access&state=${state}<:>azure-client-secrets`);break;