Skip to content
Source
Sign inSign up
TanStack/router
Open History to see the last commit

callback.tsx

10 lines274 Bytes

1import { createFileRoute } from '@tanstack/react-router';
2import { handleCallbackRoute } from '@workos/authkit-tanstack-react-start';
3​
4export const Route = createFileRoute('/api/auth/callback')({
5 server: {
6 handlers: {
7 GET: handleCallbackRoute(),
8 },
9 },
10});