UNPKG

better-auth

Version:

The most comprehensive authentication framework for TypeScript.

15 lines (13 loc) 603 B
import { defineErrorCodes } from "@better-auth/core/utils"; //#region src/plugins/generic-oauth/error-codes.ts const GENERIC_OAUTH_ERROR_CODES = defineErrorCodes({ INVALID_OAUTH_CONFIGURATION: "Invalid OAuth configuration", TOKEN_URL_NOT_FOUND: "Invalid OAuth configuration. Token URL not found.", PROVIDER_CONFIG_NOT_FOUND: "No config found for provider", PROVIDER_ID_REQUIRED: "Provider ID is required", INVALID_OAUTH_CONFIG: "Invalid OAuth configuration.", SESSION_REQUIRED: "Session is required" }); //#endregion export { GENERIC_OAUTH_ERROR_CODES }; //# sourceMappingURL=error-codes.mjs.map