Cloudflare Workers

Cloud Auth is fully compatible with Cloudflare Workers and can verify requests like this.

npm create feathersdev@latest server --platform cloudflare --app-id "<your-app-id>"

Verifier

An authenticateRequest function that validates an incoming web standard request can be implemented in src/authenticate.ts like this:

authenticate.ts

Worker

It can then be used in a Cloudflare worker like this:

index.ts

The full Cloudflare Worker example can be found here.

Subscribe to our NewsletterGet new Feathers content as it becomes available.
Feathers.dev

Copyright © 2012 - 2025 feathers.dev