Skip to content

Commit

Permalink
feat: adds Google as OAuth provider
Browse files Browse the repository at this point in the history
  • Loading branch information
ghoshnirmalya committed Jul 28, 2020
1 parent b70946f commit 76e87f2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions frontend/pages/api/auth/[...nextauth].ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ const options = {
server: process.env.EMAIL_SERVER,
from: process.env.EMAIL_FROM,
}),
Providers.Google({
clientId: process.env.GOOGLE_CLIENT_ID,
clientSecret: process.env.GOOGLE_CLIENT_SECRET,
}),
],
database: process.env.DATABASE_URL,
session: {
Expand Down

1 comment on commit 76e87f2

@vercel
Copy link

@vercel vercel bot commented on 76e87f2 Jul 28, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.