Taylor
04/12/2020, 8:49 PMMarcelo Lewin
04/13/2020, 8:54 PMGeorge Beckert
04/19/2020, 3:43 PMAndy
04/28/2020, 3:45 AMCastro Mbithii
04/28/2020, 10:53 AMRoMay
05/12/2020, 5:45 PMRoMay
05/12/2020, 5:48 PMOli Bradford
05/13/2020, 4:50 AMa lot of thoughts about remote team management
haunt him. I think it can be useful to some of you, so I decided to share it here.
👉https://standuply.com/working-remotelyRamón Morcillo
05/14/2020, 11:47 AMTaylor
05/15/2020, 9:20 PMGuillermo Lopez
05/16/2020, 5:45 PMToby
05/16/2020, 6:20 PMuzu
05/19/2020, 8:46 AMLan Phan
05/21/2020, 8:52 PMTaylor
05/25/2020, 9:09 PMpatrick
05/27/2020, 7:46 PMwuichen
05/28/2020, 6:51 PMAndreas Groos
05/29/2020, 8:48 PMWarren Day
06/02/2020, 9:44 AMOmar Essayes
06/14/2020, 1:46 PMWebagency34
06/15/2020, 11:25 AMpatrick
06/24/2020, 4:49 PMMarvin Tunji-ola
07/06/2020, 10:02 PMLee Robinson
07/10/2020, 3:29 AMUgogo
07/12/2020, 12:54 PMManthan Mallikarjun
07/13/2020, 4:11 AMUgogo
07/13/2020, 6:52 AMcory kelly
07/24/2020, 3:21 PMAwey
07/26/2020, 4:43 PMLee Robinson
07/27/2020, 1:27 PM// pages/api/auth/[...nextauth].js
import NextAuth from 'next-auth'
import Providers from 'next-auth/providers'
import Adapters from 'next-auth/adapters'
import { PrismaClient } from '@prisma/client'
const prisma = new PrismaClient()
const options = {
providers: [
Providers.Google({
clientId: process.env.GOOGLE_CLIENT_ID,
clientSecret: process.env.GOOGLE_CLIENT_SECRET
})
],
adapter: Adapters.Prisma.Adapter({ prisma }),
}
export default (req, res) => NextAuth(req, res, options)
https://next-auth.js.org/schemas/adapters#prisma-adapter