1. Log into Github, go to your account settings and click Register a New Application.
2. Fill in the application name (it can be anything, though your users will see it during the sign in flow). In Homepage URL, put your account’s authorization domain, found in the authorization domain section of the Edge Auth dashboard. It is likely https://something.cloudflareauth.com. In Authorization callback URL, put your authorization domain followed by /cdn-cgi/auth/callback. Click Register Application.
3. Copy your OAuth ID and secret and paste them in the Cloudflare dashboard to finish connecting Github.