Component evidence
OIDC provider for Salesforce integration in Auth.js.
// 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: "#00a1e0", display: "flex", justifyContent: "space-between", color: "#fff", padding: 16}}>
* <span>Built-in <b>Salesforce</b> integration.</span>
* <a href="https://www.salesforce.com/ap/?ir=1">
* <img style={{display: "block"}} src="https://authjs.dev/img/providers/salesforce.svg" height="48" />
* </a>
* </div>
*
* @module providers/salesforce
*/
import type { OIDCConfig, OIDCUserConfig } from "./index.js"
export interface SalesforceProfile extends Record<string, any> {
sub: string
nickname: string
email: string
picture: string
}
/**
* ### Setup
*
*
... (truncated -- full source via MCP)