Question
How to backup and restore MSAL Angular configuration with factory providers?
Rey Finch
0 reputation · 10 Jul 2022, 04:48 UTC
69.1K views0
When using factory providers to supply MSAL_INSTANCE, MSAL_GUARD_CONFIG, and MSAL_INTERCEPTOR_CONFIG for dynamic MSAL Angular setup, what is a reliable strategy to persist (backup) the current configuration values and later restore them (e.g., after a user logout or environment change) without causing authentication errors?