don't request email from gh

This commit is contained in:
keyan 2022-01-19 17:14:45 -06:00
parent 34a433c273
commit d102065479
1 changed files with 1 additions and 0 deletions

View File

@ -69,6 +69,7 @@ const options = {
Providers.GitHub({ Providers.GitHub({
clientId: process.env.GITHUB_ID, clientId: process.env.GITHUB_ID,
clientSecret: process.env.GITHUB_SECRET, clientSecret: process.env.GITHUB_SECRET,
authorization: 'https://github.com/login/oauth/authorize?scope=read:user',
profile: profile => { profile: profile => {
return { return {
...profile, ...profile,