From d763ee98c9726b9ee146adff549dd26d57c66921 Mon Sep 17 00:00:00 2001 From: slumbering Date: Fri, 18 Jun 2021 09:35:37 +0200 Subject: [PATCH] docs: :lock: change github oAuth from full access to read only Signed-off-by: slumbering --- website/src/components/DocPageAuthentication.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/src/components/DocPageAuthentication.js b/website/src/components/DocPageAuthentication.js index 46334b70..f760784d 100644 --- a/website/src/components/DocPageAuthentication.js +++ b/website/src/components/DocPageAuthentication.js @@ -7,7 +7,7 @@ export default function DocAuthentication() {

Welcome on Dagger documentation

Please Sign In to Github to get access to the doc

- window.location.href = `//github.com/login/oauth/authorize?client_id=${process.env.REACT_APP_CLIENT_ID}&scope=user&allow_signup=false`} /> + window.location.href = `//github.com/login/oauth/authorize?client_id=${process.env.REACT_APP_CLIENT_ID}&scope=${process.env.REACT_APP_OAUTH_SCOPE}&allow_signup=false`} />
) } \ No newline at end of file