megachangelog
Improvement3.1.75

Add internal __internal_enableHandshake option to clerkPlugin

Added an internal __internal_enableHandshake option to clerkPlugin() that defaults to true. When disabled, it skips the handshake flow and strips handshake cookies and query parameters before authentication, enabling support for API-only backends that cannot return Set-Cookie headers.

Patch Changes

  • Add an internal __internal_enableHandshake option to clerkPlugin() (defaults to true). When set to false, the plugin skips the handshake flow and strips handshake cookies and query params before authenticating requests. Intended for API-only backends that cannot return Set-Cookie headers to the browser. (#8560) by @jescalan

  • Updated dependencies [c4f9883, eef0ceb]:

    • @clerk/backend@3.17.0
fastifypluginauthenticationapicookies

Source: original entry ↗