Skip to content

Commit 8497b01

Browse files
fix: Update redirect URI to use environment variable for Azure authentication
1 parent 76543f3 commit 8497b01

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

frontend/authConfig.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export const msalConfig: Configuration = {
99
auth: {
1010
clientId: "6a136cee-b760-41a0-a039-b92ee63f1320", // This is the ONLY mandatory field that you need to supply.
1111
authority: "https://login.microsoftonline.com/0851d291-32a7-4681-b8dd-491bc4bd6ea5", // Or "consumers" for personal accounts, or "organizations" for multi-tenant.
12-
redirectUri: "http://localhost:5173/", // You must register this URI on Azure Portal/App Registration.
12+
redirectUri: import.meta.env.VITE_AZURE_REDIRECT_URI, // You must register this URI on Azure Portal/App Registration.
1313
postLogoutRedirectUri: "/", // Indicates the page to navigate to after logout.
1414
},
1515
cache: {

0 commit comments

Comments
 (0)