From d102065479e2af760247bd4ecd54eee042b6153c Mon Sep 17 00:00:00 2001 From: keyan Date: Wed, 19 Jan 2022 17:14:45 -0600 Subject: [PATCH] don't request email from gh --- pages/api/auth/[...nextauth].js | 1 + 1 file changed, 1 insertion(+) diff --git a/pages/api/auth/[...nextauth].js b/pages/api/auth/[...nextauth].js index 4ccde49e..5c0a8125 100644 --- a/pages/api/auth/[...nextauth].js +++ b/pages/api/auth/[...nextauth].js @@ -69,6 +69,7 @@ const options = { Providers.GitHub({ clientId: process.env.GITHUB_ID, clientSecret: process.env.GITHUB_SECRET, + authorization: 'https://github.com/login/oauth/authorize?scope=read:user', profile: profile => { return { ...profile,