Skip to content

Instantly share code, notes, and snippets.

View shakibhasan09's full-sized avatar
🏠
Working from home

Sakib Hasan shakibhasan09

🏠
Working from home
View GitHub Profile
const authOptions: AuthOptions = {
providers: [
CredentialsProvider({
type: "credentials",
credentials: {},
async authorize(credentials) {
const { email_address, password } = credentials as any;
const user: any = await prisma.user.findFirst({
where: {