Trying to upgrade from the @Azure/MSAL library to the latest v2 of MSAL.js 2.0 but getting the following error:
Network request failed: If the browser threw a CORS error, check that the redirectUri is registered in the Azure App Portal as type 'SPA'
Noticed that the acquireTokenSilent()
method no longer takes a logon_hint
as a parameter so switched to the ssoSilent()
method instead and pass in a SsoSilentRequest
with the logon_hint
set. Still getting this error though...