🔄 Update ApiKeyManager to AuthenticationHub and add legacy redirects for backwards compatibility
This commit is contained in:
@@ -3,7 +3,7 @@ import Home from '../views/Home.vue';
|
|||||||
import GamemasterManager from '../views/GamemasterManager.vue';
|
import GamemasterManager from '../views/GamemasterManager.vue';
|
||||||
import GamemasterExplorer from '../views/GamemasterExplorer.vue';
|
import GamemasterExplorer from '../views/GamemasterExplorer.vue';
|
||||||
import ChallongeTest from '../views/ChallongeTest.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 ClientCredentialsManager from '../views/ClientCredentialsManager.vue';
|
||||||
import OAuthCallback from '../views/OAuthCallback.vue';
|
import OAuthCallback from '../views/OAuthCallback.vue';
|
||||||
|
|
||||||
@@ -29,9 +29,9 @@ const routes = [
|
|||||||
component: ChallongeTest
|
component: ChallongeTest
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path: '/api-key-manager',
|
path: '/auth',
|
||||||
name: 'ApiKeyManager',
|
name: 'AuthenticationHub',
|
||||||
component: ApiKeyManager
|
component: AuthenticationHub
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path: '/client-credentials',
|
path: '/client-credentials',
|
||||||
@@ -42,6 +42,15 @@ const routes = [
|
|||||||
path: '/oauth/callback',
|
path: '/oauth/callback',
|
||||||
name: 'OAuthCallback',
|
name: 'OAuthCallback',
|
||||||
component: OAuthCallback
|
component: OAuthCallback
|
||||||
|
},
|
||||||
|
// Legacy redirects for backwards compatibility
|
||||||
|
{
|
||||||
|
path: '/api-key-manager',
|
||||||
|
redirect: '/auth'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
path: '/settings',
|
||||||
|
redirect: '/auth'
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user