AzureAD / azure-activedirectory-library-for-js

The code for ADAL.js and ADAL Angular has been moved to the MSAL.js repo. Please open any issues or PRs at the link below.
https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/maintenance/adal-angular
Apache License 2.0
627 stars 374 forks source link

feat(storage): ability to pass a custom storage #775 #776

Closed 4F2E4A2E closed 4 years ago

4F2E4A2E commented 6 years ago

Some apps in the enterprise have the requirement to encrypt all it's client data on the storage. This is a request for adal-angular to support a custom localStorage or a custom sessionStorage.

For more information, please checkout this PR: https://github.com/AzureAD/azure-activedirectory-library-for-js/pull/775

jmckennon commented 4 years ago

Unfortunately, adal js is only being updated for security fixes, and we do not intend to support a custom storage option for adal js at this time. We recommend using the msal js library here to get new features and bugfixes.

If you are still looking to use a custom storage, we recommend using one of the other msal libraries listed here, as msal@1.2.0 still does not support custom storage options. We are 100% confident in our local storage and caching techniques to keep them secure.