Skip to content

Latest commit

 

History

History
33 lines (23 loc) · 1.22 KB

README.md

File metadata and controls

33 lines (23 loc) · 1.22 KB

Example Express.js Service

An Express.js server for Cloudflare App services.

Local Setup

Requirements

Deploy

Usage

  • npm install: Install dependencies
  • npm start: Start server
  • npm test: Test routes
  • npm lint: Lint project

Cloudflare Service Configuration

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