Skip to content
Migrating from NextAuth.js v4? Read our migration guide.
Getting Started
Providers
Dropbox

Dropbox Provider

Resources

Setup

Callback URL

https://example.com/api/auth/callback/dropbox

Environment Variables

AUTH_DROPBOX_ID
AUTH_DROPBOX_SECRET

Configuration

/auth.ts
import NextAuth from "next-auth"
import Dropbox from "next-auth/providers/dropbox"
 
export const { handlers, auth, signIn, signOut } = NextAuth({
  providers: [Dropbox],
})
Auth.js © Balázs Orbán and Team - 2024