Support for React 19 is critically required as to upgrade from React 18.2
Core Library
MSAL.js (@azure/msal-browser)
Wrapper Library
MSAL React (@azure/msal-react)
Public or Confidential Client?
Public
Description
MSAL React package is blocking any kind of upgrades from React 18 to 19 version. The migration is critical to remediate different vulnerable libraries and Keeping the Environments updated to actively supported react version
@ritwickg - A quick search on existing issues would bring up this list
https://github.com/AzureAD/microsoft-authentication-library-for-js/issues/7481
https://github.com/AzureAD/microsoft-authentication-library-for-js/issues/7455
https://github.com/AzureAD/microsoft-authentication-library-for-js/pull/7467
and many more ... It looks like the merge request took the whole January to get created - and 3 weeks to get revied and merged - and by today there is still no working release out.
Even worse, I can't upgrade my packages and more and more Vulnerabilities get reported on older packages that can't be upgraded. :(
+1 for this, it would be great to know when the release is going out.
msal is still not stable with react v19, it is supporting upto react v18 only
+1
This issue is holding my organisation back in our upgrade path to React 19 and resolution would be greatly appreciated :)
There have already been several attempts to update MSAL for React 19 and none seem to be moving forward. Please, there are many projects that urgently need to be updated.
#7548 #7467 #7520
This is also holding back upgrades within our organisation, it's the last package not supporting React 19. Any ETA?
Hi! Just to confirm what others have written: It's the same for us, we sadly can't move to React 19, and azure/msal-react is the only package hindering us.
We tried a forced install, too, just for funsies, however, this of course immediately causes our app to crash:
Uncaught SyntaxError: local binding for export 'import_react3' not found
@AnMW
I've managed to upgrade to react@19 by adding "overrides" in package.json. Haven't run into any issues since January
"overrides": {
"@azure/msal-react": {
"react": "^16.8.0 || ^17 || ^18 || ^19"
}
}
See this pull request: https://github.com/AzureAD/microsoft-authentication-library-for-js/pull/7710