From 70ecc08f22bd15973cda33f4f956aaf8368d7064 Mon Sep 17 00:00:00 2001 From: FragginWagon Date: Thu, 29 Jan 2026 15:25:45 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=84=20Update=20ApiKeyManager=20to=20Au?= =?UTF-8?q?thenticationHub=20and=20add=20legacy=20redirects=20for=20backwa?= =?UTF-8?q?rds=20compatibility?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../websites/pokedex.online/src/router/index.js | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/code/websites/pokedex.online/src/router/index.js b/code/websites/pokedex.online/src/router/index.js index d12a89e..869de0d 100644 --- a/code/websites/pokedex.online/src/router/index.js +++ b/code/websites/pokedex.online/src/router/index.js @@ -3,7 +3,7 @@ import Home from '../views/Home.vue'; import GamemasterManager from '../views/GamemasterManager.vue'; import GamemasterExplorer from '../views/GamemasterExplorer.vue'; import ChallongeTest from '../views/ChallongeTest.vue'; -import ApiKeyManager from '../views/ApiKeyManager.vue'; +import AuthenticationHub from '../views/AuthenticationHub.vue'; import ClientCredentialsManager from '../views/ClientCredentialsManager.vue'; import OAuthCallback from '../views/OAuthCallback.vue'; @@ -29,9 +29,9 @@ const routes = [ component: ChallongeTest }, { - path: '/api-key-manager', - name: 'ApiKeyManager', - component: ApiKeyManager + path: '/auth', + name: 'AuthenticationHub', + component: AuthenticationHub }, { path: '/client-credentials', @@ -42,6 +42,15 @@ const routes = [ path: '/oauth/callback', name: 'OAuthCallback', component: OAuthCallback + }, + // Legacy redirects for backwards compatibility + { + path: '/api-key-manager', + redirect: '/auth' + }, + { + path: '/settings', + redirect: '/auth' } ];