we converted from v2 of the okta-vue lib to the v3 to fix a bug
in that we lost this setting
tokenManager: { storage: ‘sessionStorage’ },
used thusly
// okta-vue 3.1 way - EWB
const oktaAuth = new OktaAuth({
issuer: process.env.VUE_APP_issuer,
clientId: process.env.VUE_APP_client_id,
redirectUri: ${window.location.origin}/callback
,
scopes: [‘openid’, ‘profile’, ‘email’],
tokenManager: { storage: ‘sessionStorage’ },// breaks auth
})
as it now breaks auth.
is there a v3 syntax? what is it?
Thanks,
E-