Closed carlosscastro closed 5 years ago
ADAL.js does not allow a custom token cache implementation. ADAL.js caches tokens in the browser storage( i.e. localStorage or sessionStorage). The default is sessionStorage. The library allows you to configure the storage at initialization time as follows:
window.config = {
clientId: '[Enter your client_id here, e.g. g075edef-0efa-453b-997b-de1337c29185]',
cacheLocation: "localStorage"
};
var authContext = new AuthenticationContext(config);
ADAL dotnet allows to specify a custom token cache implementation. Does ADAL js provide such a thing? I couldn't find any docs on it.
Thanks!