I imported vue sdk and configured on Vue.use(Auth, {config}), also added a path route that matches the redirect_uri and pointed to OktaVuePlugin.handleCallback(). When I try to access a secure page the application correctly redirects to okta login, but on login submit the browser is redirected to /host/mycallbackurl#code… and then a blank page is returned.
TLDR; The callback of vue is not working even setting:
redirect_uri: window.location.origin + ‘/implicit/callback’
{path: ‘/implicit/callback’,
component: OktaVuePlugin.handleCallback()}
Hi @dragos, no errors. Downloading and running the sample vue okta from the official site I was able to spot the difference but not what is cautising it.
Seems like just the last redirect is wrong but trying to access again the secure page, I get the redirect to login page again, the callback didn’t work as well.