Skip to content
The Auth.js project is now part of Better Auth.

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 © Better Auth Inc. - 2025