[Vuejs]-Authorize user by OpenID in Vuejs

0๐Ÿ‘

User not found in storage

You incorrect storage object used to persist User for currently authenticated user.

Remove undefined from new Oidc.WebStorageStateStore(undefined).
userStore by default work with session storage.

If you want to use local storage just do it new WebStorageStateStore({ store: window.localStorage })

Docs

Leave a comment