Skip to content

Commit 683590f

Browse files
committed
update authority
1 parent 846341d commit 683590f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

2-Authorization/0-call-api-vanillajs/SPA/public/authConfig.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ const msalConfig = {
88
clientId: 'Enter_the_Application_Id_Here', // This is the ONLY mandatory field that you need to supply.
99
redirectUri: '/', // You must register this URI on Microsoft Entra admin center/App Registration. Defaults to window.location.href e.g. http://localhost:3000/,
1010
postLogoutRedirectUri: '/', // Indicates the page to navigate after logout.
11-
authority: 'https://login.microsoftonline.com/Enter_Your_Tenant_Id_Here', // Replace the placeholder with your tenant name
11+
authority: 'https://Enter_the_Tenant_Subdomain_Here.ciamlogin.com/' // Replace the placeholder with your tenant subdomain
1212
},
1313
cache: {
1414
cacheLocation: 'sessionStorage', // Configures cache location. "sessionStorage" is more secure, but "localStorage" gives you SSO.

0 commit comments

Comments
 (0)