🔄 Update ApiKeyManager to AuthenticationHub and add legacy redirects for backwards compatibility

This commit is contained in:
2026-01-29 15:25:45 +00:00
parent 6257c872e3
commit 70ecc08f22

View File

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