cloudflare-worker-github-oauth-login icon indicating copy to clipboard operation
cloudflare-worker-github-oauth-login copied to clipboard

Some questions for installation

Open kochizufan opened this issue 5 years ago • 1 comments

Hi

It is very nice project, but I have several questions for it.

  1. I already uses Cloudflare workers script under maplat.jp domain. Are there any concern for existing scripts are overwritten by this code's installation?
  2. What domain/url is this code used? Is it possible to run it under subdomain? (E.g. my domain is maplat.jp but I want to run this on s.maplat.jp)
  3. Is it possible to install this manually?
  4. Is it possible to customize this code to work with other identity sources? (Like Google, Twitter...)

Regards, Kohei

kochizufan avatar Dec 09 '19 00:12 kochizufan

I already uses Cloudflare workers script under maplat.jp domain. Are there any concern for existing scripts are overwritten by this code's installation?

No. You can configure the worker name with the CLOUDFLARE_SCRIPT_NAME environment variable

What domain/url is this code used? Is it possible to run it under subdomain? (E.g. my domain is maplat.jp but I want to run this on s.maplat.jp)

I'm not very familiar with how domains/subdomains work for Cloudflare and their workers. Best to contact them

Is it possible to install this manually?

Sure, you can just copy and paste the code, then replace the environment variables in the code with the actual values

Is it possible to customize this code to work with other identity sources? (Like Google, Twitter...)

That would be a lot more work than what would qualify as a customization, it's out of scope for this module

gr2m avatar Dec 19 '19 20:12 gr2m