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' } ];