Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

fix gh login `next-auth`

Steven Tey08b6fae63490
diff --git a/apps/web/lib/auth/options.ts b/apps/web/lib/auth/options.ts
index 3ce58935ad..bc91909d70 100644
--- a/apps/web/lib/auth/options.ts
+++ b/apps/web/lib/auth/options.ts
@@ -122,6 +122,7 @@ export const authOptions: NextAuthOptions = {
GithubProvider({
clientId: process.env.GITHUB_CLIENT_ID as string,
clientSecret: process.env.GITHUB_CLIENT_SECRET as string,
+ issuer: "https://github.com/login/oauth",
allowDangerousEmailAccountLinking: true,
}),
{