When I leave my okta-vue v3 Vue app Idle, and return to it after a long wait, instead of being redirected to the login page, I’m getting a 400 error.
If I redirect to the the root url manually , everything is happy, but why isn’t the token expiration being detected by okta-vue and redirecting me to login automatically.
my okta is set up like this
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’ },
Is there something I need to add??