{"library":"better-auth-credentials-plugin","type":"library","category":null,"description":"The Better Auth Credentials Plugin provides a highly customizable mechanism for authenticating users against external systems like LDAP, custom APIs, or other credential-based services, integrating seamlessly with the Better Auth ecosystem. It is currently at version 0.5.2 and appears to have a relatively active release cadence, with several minor releases in recent months addressing bug fixes and compatibility. Key differentiators include full control over the authentication callback logic, optional auto sign-up, management of account linking and session creation, and flexible route customization with Zod schemas for validation and OpenAPI documentation. It's designed to complement, not replace, Better Auth's native email/password or username flows when integrating with third-party authentication sources. The plugin explicitly supports both server and client-side integration.","language":"javascript","status":"active","version":"0.5.2","tags":["javascript","better-auth","betterauth","auth","authentication","credentials","ldap","active-directory","ad","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install better-auth-credentials-plugin","imports":["import { credentials } from 'better-auth-credentials-plugin';","import { credentialsClient } from 'better-auth-credentials-plugin/client';","import { defaultCredentialsSchema } from 'better-auth-credentials-plugin/client';"]},{"cmd":"yarn add better-auth-credentials-plugin","imports":[]},{"cmd":"pnpm add better-auth-credentials-plugin","imports":[]}],"homepage":null,"github":"https://github.com/erickweil/better-auth-credentials-plugin","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/better-auth-credentials-plugin","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/better-auth-credentials-plugin/compatibility"}}