Security News
Bun 1.2 Released with 90% Node.js Compatibility and Built-in S3 Object Support
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
next-auth-dynamodb
Advanced tools
A dynamodb provider for next-auth.
Debug logging is built in and to enable it set the environment variable NEXT_AUTH_DYNAMODB_DEBUG
to any value.
This will return detailed information including the method called and additional information appropriate for that method.
To use next-auth-dynamodb
you need to provide it as an adapter in the next-auth
config.
Here is an example config for use with GitHub login.
import { NextApiRequest, NextApiResponse } from "next";
import NextAuth, { InitOptions } from "next-auth";
import Providers from "next-auth/providers";
import NextAuthDynamodb from "next-auth-dynamodb";
const options: InitOptions = {
debug: Boolean(process.env.NEXT_AUTH_DEBUG),
providers: [
Providers.GitHub({
clientId: process.env.GITHUB_CLIENT_ID!,
clientSecret: process.env.GITHUB_CLIENT_SECRET!,
scope: "user",
}),
],
adapter: NextAuthDynamodb,
session: {
jwt: false,
},
};
export default (req: NextApiRequest, res: NextApiResponse) =>
NextAuth(req, res, options);
next-auth-dyanmodb is provided as-is, free of charge. For support, you have a few choices:
FAQs
DynamoDB provider for next-auth
The npm package next-auth-dynamodb receives a total of 71 weekly downloads. As such, next-auth-dynamodb popularity was classified as not popular.
We found that next-auth-dynamodb demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
Security News
Biden's executive order pushes for AI-driven cybersecurity, software supply chain transparency, and stronger protections for federal and open source systems.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.