feat(auth): 重构统一认证并支持平级服务无感登录
This commit is contained in:
1 parent
d79def5519
commit
ca312ea751
64 files changed
+3713
-449
No files matched your search
@@ -5,9 +5,13 @@
|
||||
import type { RouteRecordRaw } from 'vue-router';
|
||||
import LoginView from '@/features/auth/views/LoginView.vue';
|
||||
import ResetPasswordView from '@/features/auth/views/ResetPasswordView.vue';
|
||||
import SsoAuthorizeView from '@/features/sso/views/SsoAuthorizeView.vue';
|
||||
import SsoLaunchView from '@/features/sso/views/SsoLaunchView.vue';
|
||||
|
||||
export const authRoutes: RouteRecordRaw[] = [
|
||||
{ path: '/login', name: 'Login', component: LoginView },
|
||||
{ path: '/casdoor-callback', name: 'CasdoorCallback', component: LoginView },
|
||||
{ path: '/reset-password', name: 'ResetPassword', component: ResetPasswordView },
|
||||
{ path: '/sso/authorize', name: 'SsoAuthorize', component: SsoAuthorizeView },
|
||||
{ path: '/sso/launch', name: 'SsoLaunch', component: SsoLaunchView },
|
||||
];
|
||||
Reference in new issue
Block a user