diff --git a/src/pages/OauthClientsPage.vue b/src/pages/OauthClientsPage.vue index d5588cf..068f958 100644 --- a/src/pages/OauthClientsPage.vue +++ b/src/pages/OauthClientsPage.vue @@ -11,11 +11,11 @@ - + diff --git a/src/pages/OauthConsentPage.vue b/src/pages/OauthConsentPage.vue index 3d103da..e2b30ab 100644 --- a/src/pages/OauthConsentPage.vue +++ b/src/pages/OauthConsentPage.vue @@ -1,73 +1,93 @@ diff --git a/src/router/index.ts b/src/router/index.ts index a16d2ff..7a47716 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -13,6 +13,7 @@ const routes: RouteRecordRaw[] = [ { path: '/oauth-consent', component: () => import('@/pages/OauthConsentPage.vue'), + meta: { guest: true }, }, { path: '/', @@ -71,6 +72,9 @@ router.beforeEach(async (to) => { if (to.path === '/login' && returnTo) { return true } + if (to.path === '/oauth-consent') { + return true + } const forcePasswordChange = Boolean((authStore.user as any)?.force_password_change) if (forcePasswordChange) { if (to.path === '/login') {