Merge pull request #683 from aluzzardi/docs-auth-reduce-scope

docs: auth: reduce scope
This commit is contained in:
Andrea Luzzardi 2021-06-18 17:25:54 +02:00 committed by GitHub
commit c0d510e68d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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"