Keep trailing slash on MSAL redirect URI for deployed envs
Azure AD has the trailing-slash form registered for the dev environment. Previously we stripped it, causing AADSTS50011 on first sign-in. Local dev (localhost) still uses no-path form. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
c4a578500c
commit
fee62d0766
1 changed files with 1 additions and 1 deletions
|
|
@ -4269,7 +4269,7 @@
|
|||
// Handle both localhost and 127.0.0.1 for local development
|
||||
redirectUri: (window.location.hostname === 'localhost' || window.location.hostname === '127.0.0.1')
|
||||
? 'http://localhost:7183'
|
||||
: window.location.origin + window.location.pathname.replace(/\/$/, '')
|
||||
: window.location.origin + window.location.pathname
|
||||
},
|
||||
cache: {
|
||||
cacheLocation: "localStorage",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue