[MSAL for Angular] Fails to compile with the Ivy
See original GitHub issueI’m submitting a…
[ ] Regression (a behavior that used to work and stopped working in a new release)
[x] Bug report
[ ] Performance issue
[ ] Feature request
[ ] Documentation issue or request
[ ] Other... Please describe:
Library version
Library version: "@azure/msal-angular": "0.1.2"
Angular version: 8.1.1
Current behavior
Build fails with
ERROR in Attempted to get members of a non-class: "export class MsalConfig {
constructor() {
this.authority = "https://login.microsoftonline.com/common";
this.validateAuthority = true;
this.cacheLocation = "sessionStorage";
this.loadFrameTimeout = 6000;
this.navigateToLoginRequestUrl = true;
}
}"
Expected behavior
No error
Minimal reproduction of the problem with instructions
Follow the steps here https://angular.io/guide/ivy and run ng serve
Issue Analytics
- State:
- Created 4 years ago
- Reactions:9
- Comments:26 (11 by maintainers)
Top Results From Across the Web
azure/msal-angular - npm
MSAL for Angular enables Angular web applications to authenticate users using Azure AD work and school accounts (AAD), Microsoft personal ...
Read more >Module '"@azure/msal-angular"' has no exported member ...
I have an Angular 11 project where I'm trying to import MSAL_CONFIG in app.module, but I only get the error above.
Read more >azure/msal-node npm build run fails with loader problems
I'm trying to migrate ADAL TO MSAL in Angular. As part of migration for ConfidentialClientApplication, I have installed @azure/msal-node module ...
Read more >@azure/msal-angular - GitHub Pages
MSAL for Angular enables client-side Angular web applications, running in a web browser, to authenticate users using Azure AD work and school accounts...
Read more >Angular Ivy (forked) - StackBlitz
from '@azure/msal-angular';. import { AuthenticationResult,. InteractionStatus, PopupRequest,. RedirectRequest } from '@azure/msal-browser';.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
We are working to upgrade
@azure/msal-angular
to be compatible with latest version of Angular, include Ivy. We’ll update this issue when we have an preview version you can try. Thanks!I’m not sure, I’ll look into that.
Good to know.
I’ll see about including them, hopefully just a setting in
ng-packagr
.