The Bun JavaScript runtime can run a web standard HTTP server with Cloud Auth like this.
npm create feathersdev@latest server -- --platform bun --app-id "<your-app-id>"
An authenticateRequest
function that validates an incoming web standard request can be implemented in src/authenticate.ts
like this:
Then the BunJS server can then use it in a src/index.ts
like this:
The full Bun example server can be found here.