An Express.js server for Cloudflare App services.
- Node 7.0.0+
- Cloudflare account
npm install: Install dependenciesnpm start: Start servernpm test: Test routesnpm lint: Lint project
After signing in with Cloudflare account, create a new service with the following configuration.
| Field | Value |
|---|---|
| OAuth Authentication URL | https://accounts.example.com/authorize |
| OAuth Client ID | Fetch from 3rd party OAuth configuration |
| OAuth Scope | [your desired scopes] |
| OAuth Token URL | https://accounts.example.com/api/token |
| OAuth Client Secret | Fetch from 3rd party OAuth configuration |
| Metadata Endpoint | https://yourservicedomain.com/account-metadata |