providers/index.ts

better-auth · packages/better-auth/src/plugins/generic-oauth/providers/index.ts · typescript · MIT
crm

A collection of pre-configured OAuth provider definitions that allow developers to easily integrate third-party authentication services into their applications.

// Source: https://github.com/better-auth/better-auth | License: MIT | Copyright 2024 - present, Bereket Engida
// Provided via justclaw.it.com; keep this notice with the code.
/**
 * Provider helpers for generic-oauth plugin
 *
 * These helpers provide pre-configured OAuth provider definitions.
 *
 * @example
 * ```ts
 * import { betterAuth } from 'better-auth';
 * import {
 *  genericOAuth,
 *  auth0,
 *  gumroad,
 *  hubspot,
 *  keycloak,
 *  line,
 *  microsoftEntraId,
 *  okta,
 *  slack,
 *  patreon,
 *  yandex,
 * } from 'better-auth/plugins';
 *
 * export const auth = betterAuth({
 *   plugins: [
 *     genericOAuth({
 *       config: [
 *         okta({ clientId, clientSecret, issuer }),
 *         auth0({ clientId, clientSecret, domain }),
 *         microsoftEntraId({ clientId,

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

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

Get a free API key