From 0823223fbc10d9f6ab309ead7a0f3b9eb05f055b Mon Sep 17 00:00:00 2001 From: Andy Miller Date: Wed, 3 Jun 2020 15:18:00 -0600 Subject: [PATCH 1/3] added new slug/type Signed-off-by: Andy Miller --- blueprints.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/blueprints.yaml b/blueprints.yaml index 9695907..6101b26 100644 --- a/blueprints.yaml +++ b/blueprints.yaml @@ -1,4 +1,6 @@ name: Login OAuth2 +slug: form +type: login-oauth2 version: 2.0.4 description: OAuth2 Client Plugin to integrate with Grav's Login icon: plug From 5cc783b1010c30ba88f0e5c7cc167111c7a7d66e Mon Sep 17 00:00:00 2001 From: Nico Date: Thu, 10 Sep 2020 22:40:49 +0200 Subject: [PATCH 2/3] Remove user scope for github by default (#36) From https://developer.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/: user: 'Grants read/write access to profile info only. Note that this scope includes user:email and user:follow.' So we need to either use `read:user` or remove it completely. I removed it here for the default configuration. --- login-oauth2.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/login-oauth2.yaml b/login-oauth2.yaml index 9760255..169c3fe 100644 --- a/login-oauth2.yaml +++ b/login-oauth2.yaml @@ -15,7 +15,7 @@ providers: client_id: '' client_secret: '' options: - scope: ['user', 'user:email'] + scope: ['user:email'] instagram: enabled: true From eae7cb0fcaea5432f3c840dee237a696b4657047 Mon Sep 17 00:00:00 2001 From: Andy Miller Date: Wed, 2 Dec 2020 13:53:16 -0700 Subject: [PATCH 3/3] prepare for release --- CHANGELOG.md | 6 ++++++ blueprints.yaml | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index dcfcead..0be9b61 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +# v2.0.5 +## 12/02/2020 + +1. [](#improved) + * Removed user scope from github by default [#36](https://github.com/trilbymedia/grav-plugin-login-oauth2/pull/36) + # v2.0.4 ## 06/03/2020 diff --git a/blueprints.yaml b/blueprints.yaml index 6101b26..3ec9797 100644 --- a/blueprints.yaml +++ b/blueprints.yaml @@ -1,7 +1,7 @@ name: Login OAuth2 -slug: form type: login-oauth2 -version: 2.0.4 +slug: form +version: 2.0.5 description: OAuth2 Client Plugin to integrate with Grav's Login icon: plug author: