auth0 login

This commit is contained in:
2025-12-07 10:05:30 -07:00
parent 53db70fc29
commit 57564df115
10 changed files with 1053 additions and 15 deletions

View File

@@ -1,6 +1,7 @@
import type { Metadata } from "next";
import { CopilotKit } from "@copilotkit/react-core";
import { Auth0Provider } from "@auth0/nextjs-auth0/client";
import "./globals.css";
import "@copilotkit/react-ui/styles.css";
@@ -17,9 +18,11 @@ export default function RootLayout({
return (
<html lang="en">
<body className={"antialiased"}>
<CopilotKit runtimeUrl="/api/copilotkit" agent="sample_agent">
{children}
</CopilotKit>
<Auth0Provider>
<CopilotKit runtimeUrl="/api/copilotkit" agent="sample_agent">
{children}
</CopilotKit>
</Auth0Provider>
</body>
</html>
);