We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
the example here: https://docs.nhost.io/guides/auth/bot-protection only outline SDK for nextjs The standard JS SDK nhost.auth.signUp won't allow passing headers . e.g.:
nhost.auth.signUp
headers
const { session, error } = await nhost.auth.signUp({ email, password, options: { displayName: `${firstName} ${lastName}`, locale, }, { headers: { // <-- this is not allowed 'x-cf-turnstile-response': turnstileResponse, }, }, });
would be nice if we can set headers at top level similar to nhost.graphql.setHeaders({}) to Future-proof SDK. e.g.:
nhost.graphql.setHeaders({})
nhost.auth.setHeaders({ 'x-cf-turnstile-response': turnstileResponse, })
The text was updated successfully, but these errors were encountered:
No branches or pull requests
the example here: https://docs.nhost.io/guides/auth/bot-protection only outline SDK for nextjs
The standard JS SDK
nhost.auth.signUp
won't allow passingheaders
. e.g.:would be nice if we can set headers at top level similar to
nhost.graphql.setHeaders({})
to Future-proof SDK. e.g.:The text was updated successfully, but these errors were encountered: