You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 3, 2024. It is now read-only.
Copy file name to clipboardExpand all lines: 4-Deployment/2-deploy-static/App/src/authConfig.js
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -12,10 +12,10 @@ import { LogLevel } from "@azure/msal-browser";
12
12
*/
13
13
exportconstmsalConfig={
14
14
auth: {
15
-
clientId: "Enter_the_Application_Id_Here",// This is the ONLY mandatory field that you need to supply.
16
-
authority: "https://login.microsoftonline.com/Enter_the_Tenant_Info_Here",// Defaults to "https://login.microsoftonline.com/common"
17
-
redirectUri: "/",// You must register this URI on Azure Portal/App Registration. Defaults to window.location.origin
18
-
postLogoutRedirectUri: "/",// Indicates the page to navigate after logout.
15
+
clientId: `${process.env["REACT_APP_AAD_APP_CLIENT_ID"]}`,// This is the ONLY mandatory field that you need to supply.
16
+
authority: `https://login.microsoftonline.com/${process.env["REACT_APP_AAD_APP_TENANT_ID"]}`,// Defaults to "https://login.microsoftonline.com/common"
17
+
redirectUri: `${process.env["REACT_APP_AAD_APP_REDIRECT_URI"]}`,// You must register this URI on Azure Portal/App Registration. Defaults to window.location.origin
18
+
postLogoutRedirectUri: `${process.env["REACT_APP_AAD_APP_REDIRECT_URI"]}`,// Indicates the page to navigate after logout.
19
19
navigateToLoginRequestUrl: false,// If "true", will navigate back to the original request location before processing the auth code response.
0 commit comments