don't request email from gh
This commit is contained in:
parent
34a433c273
commit
d102065479
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue