Okta/okta-vue 4.0.0 login callback loop

I found the issue! It wasn’t the order of app.use(), but it was something that I didn’t notice at first glance.

const router = createRouter({
  history: createWebHashHistory(),
  routes
});

vs

const router = createRouter({
  history: createWebHistory(),
  routes
});

The first one was adding a hash (#) to the the path, and I think it was breaking the LoginCallback function.
http://localhost:8080/login/callback?code=code_here&state=state_code_here#/

Thanks for all your help. I’m glad to have this resolved.