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
"description": "Vanilla JavaScript single-page application using MSAL.js to authenticate users against Azure AD Customer Identity Access Management (Azure AD for Customers)",
4
+
"description": "Vanilla JavaScript single-page application using MSAL.js to authenticate users against Microsoft Entra External ID",
Copy file name to clipboardExpand all lines: 1-Authentication/0-sign-in-vanillajs/App/public/authConfig.js
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -6,8 +6,8 @@
6
6
constmsalConfig={
7
7
auth: {
8
8
clientId: 'Enter_the_Application_Id_Here',// This is the ONLY mandatory field that you need to supply.
9
-
authority: 'https://Enter_the_Tenant_Subdomain_Here.ciamlogin.com/',// Replace the placeholder with your tenant subdomain
10
-
redirectUri: '/',// You must register this URI on Azure Portal/App Registration. Defaults to window.location.href e.g. http://localhost:3000/
9
+
authority: 'https://Enter_the_Tenant_Subdomain_Here.ciamlogin.com/',// Replace the placeholder with your tenant subdomain
10
+
redirectUri: 'http://localhost:3000/redirect',// You must register this URI on Microsoft Entra admin center/App Registration. Defaults to window.location.href e.g. http://localhost:3000/
11
11
navigateToLoginRequestUrl: true,// If "true", will navigate back to the original request location before processing the auth code response.
12
12
},
13
13
cache: {
@@ -65,4 +65,4 @@ if (typeof exports !== 'undefined') {
0 commit comments