Skip to content
Auth.js 项目现在加入了 Better Auth

Todoist Provider

Resources

Setup

Callback URL

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

Environment Variables

AUTH_TODOIST_ID
AUTH_TODOIST_SECRET

Configuration

/auth.ts
import NextAuth from "next-auth"
import Todoist from "next-auth/providers/todoist"
 
export const { handlers, auth, signIn, signOut } = NextAuth({
  providers: [Todoist],
})