Open mehavel opened 3 years ago
@mehavel Can you provide more detail on why the msal service should be marked as optional?
@jasonnutter we are planning to load a module, without authentication. the other modules will be disabled for the first time. During the next load all the modules will be enabled and will be behind msal. The is based on a feature flag. We tried injecting msalservice as optional for the first time and it did not work. hope this helps
@mehavel Makes sense, thanks for the explanation.
This issue has not seen activity in 14 days. It will be closed in 7 days if it remains stale.
@jo-arroyo @EmLauber Are we planning to support this? Can we also mark it in the backlog?
Library
msal@1.3.2 @azure/msal-angular@1.0.0
Framework
Angular 9
Description
Angular has the feature to inject optional dependency. Not able to inject msal service as optional.
Error Message
No provider for msal service (declared @optional for msalservice)
Security
Regression
2316
2316 Expected behavior
msalservice should be an optional dependency and should not throw any error
Browsers/Environment