docs: auth: reduce scope

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
This commit is contained in:
Andrea Luzzardi 2021-06-18 17:20:28 +02:00
parent 1001f678a0
commit 16cbb7fca0

View File

@ -16,7 +16,7 @@ docs: yarn.#Package & {
buildDir: "website/build" buildDir: "website/build"
env: { env: {
OAUTH_ENABLE: "true" OAUTH_ENABLE: "true"
REACT_APP_OAUTH_SCOPE: "read:user" REACT_APP_OAUTH_SCOPE: "user:email"
REACT_APP_GITHUB_AUTHORIZE_URI: "https://github.com/login/oauth/authorize?client_id=${REACT_APP_CLIENT_ID}&scope=${REACT_APP_OAUTH_SCOPE}&allow_signup=false" REACT_APP_GITHUB_AUTHORIZE_URI: "https://github.com/login/oauth/authorize?client_id=${REACT_APP_CLIENT_ID}&scope=${REACT_APP_OAUTH_SCOPE}&allow_signup=false"
REACT_APP_DAGGER_SITE_URI: "https://dagger.io" REACT_APP_DAGGER_SITE_URI: "https://dagger.io"
REACT_APP_API_PROXY_ENABLE: "true" REACT_APP_API_PROXY_ENABLE: "true"