Created
March 24, 2024 19:10
-
-
Save wdevon99/9a16974eaf8b229e1615e010a020b9f3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const handler = NextAuth({ | |
providers: [ | |
GoogleProvider({ | |
clientId: process.env.GOOGLE_ID ?? "", | |
clientSecret: process.env.GOOGLE_CLIENT_SECRET ?? "", | |
}), | |
GithubProvider({ | |
clientId: process.env.GITHUB_ID ?? "", | |
clientSecret: process.env.GITHUB_CLIENT_SECRET ?? "", | |
}), | |
], | |
... | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment