This commit is contained in:
2026-02-24 19:31:30 +01:00
parent 28898fb081
commit 1bb9241116
16 changed files with 878 additions and 50 deletions

View File

@@ -0,0 +1,15 @@
import { createFileRoute } from "@tanstack/react-router";
import { auth } from "@zendegi/auth";
import { oauthProviderAuthServerMetadata } from "@better-auth/oauth-provider";
const handler = oauthProviderAuthServerMetadata(auth);
export const Route = createFileRoute(
"/.well-known/oauth-authorization-server/api/auth"
)({
server: {
handlers: {
GET: ({ request }) => handler(request),
},
},
});