Product
Introducing Enhanced Alert Actions and Triage Functionality
Socket now supports four distinct alert actions instead of the previous two, and alert triaging allows users to override the actions taken for all individual alerts.
@next-auth/prisma-adapter
Advanced tools
Readme
Open Source. Full Stack. Own Your Data.
This is the Prisma Adapter for next-auth
. This package can only be used in conjunction with the primary next-auth
package. It is not a standalone package.
You can find the Prisma schema in the docs at next-auth.js.org/adapters/prisma.
next-auth@beta
and @next-auth/prisma-adapter@next
npm install next-auth@beta @next-auth/prisma-adapter@next
pages/api/[...nextauth].js
next-auth configuration object.import NextAuth from "next-auth"
import { PrismaAdapter } from "@next-auth/prisma-adapter"
import * as Prisma from "@prisma/client"
const prisma = new Prisma.PrismaClient()
// For more information on each option (and a full list of options) go to
// https://next-auth.js.org/configuration/options
export default NextAuth({
// https://next-auth.js.org/configuration/providers
providers: [],
adapter: PrismaAdapter(prisma)
...
})
We're open to all community contributions! If you'd like to contribute in any way, please read our Contributing Guide.
ISC
FAQs
Prisma adapter for next-auth.
The npm package @next-auth/prisma-adapter receives a total of 65,360 weekly downloads. As such, @next-auth/prisma-adapter popularity was classified as popular.
We found that @next-auth/prisma-adapter demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket now supports four distinct alert actions instead of the previous two, and alert triaging allows users to override the actions taken for all individual alerts.
Security News
Polyfill.io has been serving malware for months via its CDN, after the project's open source maintainer sold the service to a company based in China.
Security News
OpenSSF is warning open source maintainers to stay vigilant against reputation farming on GitHub, where users artificially inflate their status by manipulating interactions on closed issues and PRs.