Skip to content
masterclass Buddy

Auth.js · Type Alias

Provider

Provider is the Auth.js type for authentication provider configurations. It supports OAuth, OIDC, email, credentials, and WebAuthn providers.

Last updated

Syntax

type Provider<P extends Profile = any> = OIDCConfig<P> | OAuth2Config<P> | EmailConfig | CredentialsConfig | WebAuthnConfig & InternalProviderOptions | ((...args: any[]) => OIDCConfig<P> | OAuth2Config<P> | EmailConfig | CredentialsConfig | WebAuthnConfig & InternalProviderOptions)

In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.

Subscribe
  • ProviderType
  • ProviderId
  • OAuth2Config
  • OIDCConfig
  • EmailConfig
  • CredentialsConfig
  • WebAuthnConfig
  • ProfileCallback

Source: Auth.js | Providers. Checked 2026-11-03.