-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
0.1.3 broke AoT compiling (Function calls are not supported in decorators but 'MsalModule' was called) #798
Comments
Facing the same issue |
Same here |
I wonder what is going with this release. It's not even an updated changelog for it :/ |
Thanks for the information, we'll take a look. |
Unfortunately, the fix to properly support modern browsers and IE11 (for both JIT and AOT) is proving to be more complicated than expected. We have deprecated |
Thanks Json. for the info. We will be waiting for your drop. |
Please keep me posted. My company has been waiting on a solution for the IE11 browser for some time now. |
Hey @jasonnutter, We're also waiting in anticipation for the fix as msal-angular is currently breaking IE support in our application. So a +8 from us in this regard. |
Hello @jasonnutter, thanks, Mirko |
We have published a new version of msal-angular with compatibility for IE11:
Please test this version and let us know if there are any issues. We will promote to a stable release once we're confident this version doesn't introduce any regressions. Thanks! |
My app now comes up on IE11 version 11.885.17134.0, but I am receiving "null" when calling the getUser() method of the service. I am running "ng build --prod". The sample app works in a "ng serve" environment (code logic very similar). Safari and Chrome still work with new lib. The developer tools close on the redirect, so its hard to capture log entries, but when I do a refresh, I get the following (don't know if this can help): client logging :: Tue, 06 Aug 2019 18:40:25 GMT:1234-0.2.2-Info State status:false; Request type:undefined thanks, Mirko |
@mirkodelgado Ah whoops, forgot to mention that you should set the following config option: const isIE = window.navigator.userAgent.indexOf("MSIE ") > -1 || window.navigator.userAgent.indexOf("Trident/") > -1;
MsalModule.forRoot({
// ...
storeAuthStateInCookie: isIE
}) Let me know if that fixes it. |
Got a little farther
client logging :: Tue, 06 Aug 2019 19:16:09 GMT:1234-0.2.2-Info renewidToken is called thanks, Mirko |
@mirkodelgado Looks like we may need to add the For the |
I can confirm that |
I can also confirm. was at 0.1.3 and moved to .4-beta.1. Build completed. No code changes required. |
We've published We'll release |
This has been fixed with the betas, and will be included in the next release. Closing. |
I'm submitting a...
Library version
Library version: 0.1.3
Current behavior
When compiling using the AoT compiler (
ng serve --aot
orng build --prod
) it'll throw this error:Expected behavior
No error
Minimal reproduction of the problem with instructions
Upgrade to
"@azure/msal-angular": "0.1.3"
and runng serve --aot
The text was updated successfully, but these errors were encountered: