# Convex Adapter for Auth.js (NextAuth) Setup Guide

DevFeed: [Convex Adapter for Auth.js (NextAuth) Setup Guide](<https://devfeed.tech/articles/convex-adapter-for-auth-js-nextauth-setup-guide-81413.md>)

Original publisher: [Read original article](<https://stack.convex.dev/nextauth-adapter>)

Author: Stack

Published: 2024-05-07T11:47:00Z

Content type: tutorial

Language: en

Sources: [Stack](<https://devfeed.tech/sources/stack.md>)

Topics: [Why Rely on a Social Auth Library?](<https://devfeed.tech/topics/why-rely-on-a-social-auth-library.md>), [Single sign-on (SSO)](<https://devfeed.tech/topics/sso.md>), [WebAuthn](<https://devfeed.tech/topics/webauthn.md>), [LocalStorage](<https://devfeed.tech/topics/localstorage.md>)

Tags: [api](<https://devfeed.tech/tags/api.md>), [authentication](<https://devfeed.tech/tags/authentication.md>), [guide](<https://devfeed.tech/tags/guide.md>), [integration](<https://devfeed.tech/tags/integration.md>), [next-js](<https://devfeed.tech/tags/next-js.md>), [sessions](<https://devfeed.tech/tags/sessions.md>), [setup](<https://devfeed.tech/tags/setup.md>)

## AI overview

A setup guide explains how to install and configure a Convex adapter for Auth.js in a Next.js application. It covers database schemas and adapter endpoints, shared-secret protection, and JWT-based authentication that connects Auth.js sessions to Convex.

## Source excerpt

Learn how to install and configure the Convex adapter for Auth.js as part of getting set up with Convex and Next.js.