From c6be8978f0e588032bf07b3b2d930d5c55377b1f Mon Sep 17 00:00:00 2001 From: Levi Wheatcroft <547896+leviwheatcroft@users.noreply.github.com> Date: Sat, 2 Mar 2019 14:21:22 +0800 Subject: [PATCH 1/3] added google auth instructions --- README.md | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/README.md b/README.md index 5fc198a..0028fa6 100644 --- a/README.md +++ b/README.md @@ -130,6 +130,31 @@ The `secret` provided in `config.json` will be used by [express-session](https:/ ### Google +- Head to [console.developers.google.com](https://console.developers.google.com) +- create project + - `My Project` (top left) > `new project` + - *Project Name*: the name of your blog + - *Location*: Optional (`No organisation` is ok) + - create +- switch to new project +- credentials (on the left) +- OAuth Consent Screen tab + - *Application Name*: the name of your blog + - *Support Email* + - *Authorized domains*: add your primary domain (`https://example.com` not `https://schnack.example.com`) + - *Application Homepage link*: your front page + - other fields appear to be optional +- create credentials > OAuth Client ID + - *Application Type*: Web application + - *Name*: the name of your blog + - *Authorized JavaScript Origins*: primary domain + - other fields appear to be optional +- note warning: + +> OAuth is limited to 100 sensitive scope logins until the OAuth consent screen is published. This may require a verification process that can take several days. + + + ### Facebook ## Notifications From 2450d6fb19c6f6ec5126e3fc81146797eb42e92c Mon Sep 17 00:00:00 2001 From: Levi Wheatcroft <547896+leviwheatcroft@users.noreply.github.com> Date: Sat, 2 Mar 2019 15:27:34 +0800 Subject: [PATCH 2/3] built html --- docs/index.html | 33 ++++++++++++++++++++++++++++++++- 1 file changed, 32 insertions(+), 1 deletion(-) diff --git a/docs/index.html b/docs/index.html index a5db89b..d8e0261 100644 --- a/docs/index.html +++ b/docs/index.html @@ -413,7 +413,38 @@

Google

- + +
+

OAuth is limited to 100 sensitive scope logins until the OAuth consent screen is published. This may require a verification process that can take several days.

+
+

Facebook From 6340805bcb833c8622cf3298d57583eaf942476e Mon Sep 17 00:00:00 2001 From: Levi Wheatcroft <547896+leviwheatcroft@users.noreply.github.com> Date: Sun, 3 Mar 2019 05:11:41 +0800 Subject: [PATCH 3/3] enable google+ api --- README.md | 3 +++ docs/index.html | 5 +++++ 2 files changed, 8 insertions(+) diff --git a/README.md b/README.md index 0028fa6..58c0b12 100644 --- a/README.md +++ b/README.md @@ -137,6 +137,9 @@ The `secret` provided in `config.json` will be used by [express-session](https:/ - *Location*: Optional (`No organisation` is ok) - create - switch to new project +- library (on the left) + - search for `google+ api` + - enable - credentials (on the left) - OAuth Consent Screen tab - *Application Name*: the name of your blog diff --git a/docs/index.html b/docs/index.html index d8e0261..f4d93ae 100644 --- a/docs/index.html +++ b/docs/index.html @@ -423,6 +423,11 @@

  • switch to new project
  • +
  • library (on the left)
      +
    • search for google+ api
    • +
    • enable
    • +
    +
  • credentials (on the left)
  • OAuth Consent Screen tab
    • Application Name: the name of your blog