MCPcopy Index your code
hub / github.com/simstudioai/sim / route.ts

File route.ts

apps/sim/app/api/auth/[...all]/route.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { toNextJsHandler } from 'better-auth/next-js'
2import { type NextRequest, NextResponse } from 'next/server'
3import { auth } from '@/lib/auth'
4import { createAnonymousSession, ensureAnonymousUserExists } from '@/lib/auth/anonymous'

Callers

nothing calls this directly

Calls 5

withRouteHandlerFunction · 0.90
createAnonymousSessionFunction · 0.90
getAuthPathFunction · 0.85

Tested by

no test coverage detected