๐Ÿ‘ฎDisabeling token persistance

By default, oidc-spa saves tokens in session storage, allowing users to skip when they reload your app (CTRL + R). However, token persistence can be disabled, and everything will still function as expected. The only difference is that reloading the app may take slightly longer.

import { createOidcย } from "oidc-spa";

const oidcย = await createOidc({
  // ...
  doDisableTokenPersistence: true
});

Last updated