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