Skip to main content

Function: createSignerProxyRoute()

createSignerProxyRoute(opts, deps?): (req) => Promise<Response>
Defined in: packages/nextjs/src/routes.ts:97 App Router route handler that forwards a social/email body to the facilitator /auth/*, injecting the apiKey from server-side env. The provider secret stays in the facilitator.

Parameters

opts

CreateSignerProxyRouteOptions

deps?

CreateSignerProxyRouteDeps = {}

Returns

(req) => Promise<Response>