You've already forked authentication-service
mirror of
https://github.com/matrix-org/matrix-authentication-service.git
synced 2025-11-20 12:02:22 +03:00
Standalone pages to view an OAuth client and a browser session
This commit is contained in:
@@ -19,6 +19,8 @@ import Layout from "./components/Layout";
|
||||
import LoadingSpinner from "./components/LoadingSpinner";
|
||||
|
||||
const Home = lazy(() => import("./pages/Home"));
|
||||
const OAuth2Client = lazy(() => import("./pages/OAuth2Client"));
|
||||
const BrowserSession = lazy(() => import("./pages/BrowserSession"));
|
||||
|
||||
export const router = createHashRouter([
|
||||
{
|
||||
@@ -39,6 +41,14 @@ export const router = createHashRouter([
|
||||
path: "dumb",
|
||||
element: <>Hello from another dumb page.</>,
|
||||
},
|
||||
{
|
||||
path: "client/:id",
|
||||
element: <OAuth2Client />,
|
||||
},
|
||||
{
|
||||
path: "session/:id",
|
||||
element: <BrowserSession />,
|
||||
},
|
||||
],
|
||||
},
|
||||
]);
|
||||
|
||||
Reference in New Issue
Block a user