docs: 🔒 change github oAuth from full access to read only
Signed-off-by: slumbering <slumbering.pierrot@gmail.com>
This commit is contained in:
parent
d5c575b154
commit
d763ee98c9
@ -7,7 +7,7 @@ export default function DocAuthentication() {
|
|||||||
<div className={style.container}>
|
<div className={style.container}>
|
||||||
<h1 className={style.h1}>Welcome on Dagger documentation</h1>
|
<h1 className={style.h1}>Welcome on Dagger documentation</h1>
|
||||||
<p>Please Sign In to Github to get access to the doc</p>
|
<p>Please Sign In to Github to get access to the doc</p>
|
||||||
<GithubLoginButton className={style.btn__github} onClick={() => window.location.href = `//github.com/login/oauth/authorize?client_id=${process.env.REACT_APP_CLIENT_ID}&scope=user&allow_signup=false`} />
|
<GithubLoginButton className={style.btn__github} onClick={() => 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`} />
|
||||||
</div>
|
</div>
|
||||||
)
|
)
|
||||||
}
|
}
|
Reference in New Issue
Block a user