From 8acf3db9f3598d158897e3118bfc7a3fea035513 Mon Sep 17 00:00:00 2001 From: Lucas Bartholemy Date: Wed, 22 May 2024 20:40:28 +0200 Subject: [PATCH] Reduced Scope --- authclient/GithubAuth.php | 1 + docs/CHANGELOG.md | 4 ++++ module.json | 2 +- 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/authclient/GithubAuth.php b/authclient/GithubAuth.php index accf1be..e98a4eb 100644 --- a/authclient/GithubAuth.php +++ b/authclient/GithubAuth.php @@ -10,6 +10,7 @@ */ class GithubAuth extends GitHub { + public $scope = 'read:user'; /** * @inheritdoc diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index ee29117..ba3bd3f 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -1,6 +1,10 @@ Changelog ========= +1.0.2 (May 22, 2024) +--------------------- +- Fix: Reduced GitHub Access Scope + 1.0.1 (May 22, 2024) --------------------- - Fix: Serialization Problem diff --git a/module.json b/module.json index 7d0c601..3647665 100644 --- a/module.json +++ b/module.json @@ -4,7 +4,7 @@ "description": "Integrating GitHub Sign-In (OAuth 2.0).", "keywords": [ ], - "version": "1.0.1", + "version": "1.0.2", "homepage": "https://github.com/humhub-contrib/auth-github", "humhub": { "minVersion": "1.6"