Auth handler uses reply.hijack() which bypasses NestJS CORS. Now manually sets CORS headers and handles OPTIONS preflight before delegating to BetterAuth.
Auth handler uses reply.hijack() which bypasses NestJS CORS. Now manually sets CORS headers and handles OPTIONS preflight before delegating to BetterAuth.
The auth handler uses Fastify's onRequest hook with reply.hijack(),
which bypasses all NestJS middleware including CORS. Manually set
Access-Control-Allow-* headers on the raw response and handle OPTIONS
preflight before delegating to BetterAuth's node handler.
Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Auth handler uses reply.hijack() which bypasses NestJS CORS. Now manually sets CORS headers and handles OPTIONS preflight before delegating to BetterAuth.