Fix MSAL CDN URL: switch from alcdn.msauth.net (404) to jsDelivr
alcdn.msauth.net/browser/2.38.3/js/msal-browser.min.js returns 404. Using cdn.jsdelivr.net (npm mirror) with @azure/msal-browser@2 instead. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
0622a86bbd
commit
9a9712e852
1 changed files with 1 additions and 1 deletions
|
|
@ -32,7 +32,7 @@ function initMsal() {
|
|||
|
||||
// Load MSAL library dynamically
|
||||
const script = document.createElement('script');
|
||||
script.src = 'https://alcdn.msauth.net/browser/2.38.3/js/msal-browser.min.js';
|
||||
script.src = 'https://cdn.jsdelivr.net/npm/@azure/msal-browser@2/lib/msal-browser.min.js';
|
||||
script.onload = () => {
|
||||
msalInstance = new msal.PublicClientApplication(msalConfig);
|
||||
msalInstance.initialize().then(() => {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue