NextAuth OAuth provider for Todoist integration.
// Source: https://github.com/nextauthjs/next-auth | License: ISC | Copyright 2022-2024, Balázs Orbán
// Provided via justclaw.it.com; keep this notice with the code.
/**
* <div class="provider" style={{backgroundColor: "#000", display: "flex", justifyContent: "space-between", color: "#fff", padding: 16}}>
* <span>Built-in <b>Todoist</b> integration.</span>
* <a href="https://www.todoist.com/">
* <img style={{display: "block"}} src="https://authjs.dev/img/providers/todoist.svg" height="48" />
* </a>
* </div>
*
* @module providers/todoist
*/
import type { OAuthConfig, OAuthUserConfig } from "./index.js"
/**
* @see https://developer.todoist.com/sync/v9/#user
*/
interface TodoistProfile extends Record<string, any> {
avatar_big: string
email: string
full_name: string
id:
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key