mirror of
https://github.com/usememos/memos.git
synced 2025-06-05 22:09:59 +02:00
feat: implement sign in with SSO (#1119)
* feat: implement sign in with SSO * chore: update * chore: update * chore: update
This commit is contained in:
@ -5,6 +5,7 @@ import store from "../store";
|
||||
import { initialGlobalState, initialUserState } from "../store/module";
|
||||
|
||||
const Auth = lazy(() => import("../pages/Auth"));
|
||||
const AuthCallback = lazy(() => import("../pages/AuthCallback"));
|
||||
const Explore = lazy(() => import("../pages/Explore"));
|
||||
const Home = lazy(() => import("../pages/Home"));
|
||||
const MemoDetail = lazy(() => import("../pages/MemoDetail"));
|
||||
@ -36,6 +37,10 @@ const router = createBrowserRouter([
|
||||
return null;
|
||||
},
|
||||
},
|
||||
{
|
||||
path: "/auth/callback",
|
||||
element: <AuthCallback />,
|
||||
},
|
||||
{
|
||||
path: "/",
|
||||
element: <Home />,
|
||||
|
Reference in New Issue
Block a user