providers/netlify.ts

next-auth · packages/core/src/providers/netlify.ts · typescript · ISC
auth, Auth / Identity

Netlify OAuth provider for NextAuth, enabling Netlify login.

// 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>Netlify</b> integration.</span>
 * <a href="https://netlify.com">
 *   <img style={{display: "block"}} src="https://authjs.dev/img/providers/netlify.svg" height="48" width="48"/>
 * </a>
 * </div>
 *
 * @module providers/netlify
 */

import type { OAuthConfig, OAuthUserConfig } from "./index.js"

/**
 * Add Netlify login to your page.
 *
 * ### Setup
 *
 * #### Callback URL
 * ```
 * https://example.com/api/auth/callback/netlify
 * ```
 *
 * #### Configuration
 *```

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key