Skip to content

docs: bypass keys and the Allow access rule policy - #91

Merged
HughParry merged 2 commits into
mainfrom
docs/bypass-keys
Nov 5, 2026
Merged

HughParry merged 2 commits into
mainfrom
docs/bypass-keys

Conversation

@HughParry

@HughParry HughParry commented Sep 15, 2026 •

Copy link
Copy Markdown

What changed

  • New page: Bypass keys (advanced/bypass-keys). Covers what a key is, creating one in the portal, setting the cookie (browser console, Playwright, Cypress), verifying the token (the ip field is required), and revoking it. Also covers the limits and a security warning.
  • Access control rules only listed Block and Restrict. It now documents Allow: allow-listing an office IP range, plus what to watch out for (frictionless only, ip needed at verify, Block/Restrict still win).
  • API page: type can be allow, and bypassKeyHash is a condition field (send the hash, never the key).
  • Server-side verification: two new failure reasons, API.AUTHENTICATED_IP_REQUIRED and API.AUTHENTICATED_IP_MISMATCH.
  • Sidebar: new entry under Advanced Usage.

Effect

Customers can find out how to skip the captcha for trusted networks and for their own developers and tests.

Tests

Docs only. I checked link targets and anchors by hand. I did not run a local build; CI runs the build and link check.

Goes with the bypass keys feature in prosopo/captcha and prosopo/captcha-private. Refs prosopo/captcha-private#2021

Feature PRs: prosopo/captcha-private#4580 · prosopo/captcha#3256

Adds a Bypass Keys page: what a key is, how to create one in the portal,
set it as a cookie in a browser or in Playwright/Cypress tests, verify
the resulting token (the `ip` field is required) and revoke it.

The Access Control Rules page only described Block and Restrict; it now
covers Allow, including allow-listing an office IP range and the limits
that apply (frictionless only, IP needed at verify, blocks still win).
The API page lists `allow` and `bypassKeyHash`, and the verification
failure reasons gain the two authenticated-token IP errors.

Refs prosopo/captcha-private#2021
@netlify

netlify Bot commented Sep 15, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for peaceful-pothos-9e62ce ready!

Name Link
🔨 Latest commit ca0a825
🔍 Latest deploy log https://app.netlify.com/projects/peaceful-pothos-9e62ce/deploys/6aa924b300d152000842a3ca
😎 Deploy Preview https://deploy-preview-91--peaceful-pothos-9e62ce.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify

netlify Bot commented Nov 3, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for peaceful-pothos-9e62ce ready!

Name Link
🔨 Latest commit 99db9ce
🔍 Latest deploy log https://app.netlify.com/projects/peaceful-pothos-9e62ce/deploys/6ae9c9289baf0e8f7114c414
😎 Deploy Preview https://deploy-preview-91--peaceful-pothos-9e62ce.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@HughParry
HughParry marked this pull request as ready for review November 4, 2026 08:46
@HughParry
HughParry merged commit 714e330 into main Nov 5, 2026
8 checks passed
@HughParry
HughParry deleted the docs/bypass-keys branch November 5, 2026 15:57
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.

1 participant