Skip to content

nk-auth: FORM_GATED_AUTH_PATHS for disabledPaths - #101

Merged
Jerome Leclanche (jleclanche) merged 1 commit into
mainfrom
nk-auth-form-gated-paths
Nov 25, 2026
Merged

Jerome Leclanche (jleclanche) merged 1 commit into
mainfrom
nk-auth-form-gated-paths

Conversation

@jleclanche

Copy link
Copy Markdown
Member

Adds FORM_GATED_AUTH_PATHS so sites close the raw Better Auth endpoints their nk-forms wrap (financica/financica#341). A test pins that disabledPaths refuses HTTP while auth.api.* keeps working, and fails without the setting. README section 6 now sends the set-password link server-side.

🤖 Generated with Claude Code

The raw Better Auth endpoints behind nk-forms (sign-up, password reset
request, verification resend) skip the bot gate and per-address limits.
Sites pass these as disabledPaths: HTTP answers 404, auth.api still runs.
The README sends the set-password link server-side.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Copilot AI balanced review requested due to automatic review settings November 25, 2026 00:35
@jleclanche
Jerome Leclanche (jleclanche) merged commit 24f681a into main Nov 25, 2026
1 check passed
@jleclanche
Jerome Leclanche (jleclanche) deleted the nk-auth-form-gated-paths branch November 25, 2026 00:35

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants