Vue okta /login/callback not loading redirect

Hi there

I’m using the okta vue sdk to sign people into my vue app. This works fine and so do all protected routes.

The problem is that once I sign in and are redirected the url is correct but the page does not load. My menu does not work either. It changes the url but nothing loads.

The only way to fix it is to refresh the page, then everything loads correctly. The menu works and pages load. When the token is refreshed and there is a redirect to the callback page, everything stops working again until I refresh.

I can seem to solve it.

All my paths load using <RouterView v-slot="{ Component }"> which may be what is causing it I’m not sure.

Any help would be most helpful

Thanks

Hi,
It’s a late answer, maybe you already solved your problem. Are you sure there is no problem with the event lifecycle ?

Lifecycle Hooks | Vue.js (vuejs.org)

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.