Community plugins, not made by the better-auth team
Community plugins for better-auth
Small, typed plugins that install and behave like the ones that ship with better-auth.
import { betterAuth } from "better-auth";
import { blocklist } from "@checodo/better-auth-blocklist";
import { disposableEmailDomains } from "@checodo/better-auth-blocklist/lists";
import { waitlist } from "@checodo/better-auth-waitlist";
export const auth = betterAuth({
plugins: [
blocklist({
email: { domains: disposableEmailDomains },
username: { values: ["admin", "support"] },
}),
waitlist({
sendConfirmationEmail: ({ email, token }) => sendConfirmation(email, token),
sendInvite: ({ email, inviteCode }) => sendInvite(email, inviteCode),
}),
],
});Plugins
Audit log
Read the docs →A log of sign-ins, failed sign-ins, account changes, and admin actions, for users and admins.
- Records every sign-in method, two-factor included
- Admin actions with the admin as actor
- Never stores passwords or tokens; beforeLog to pseudonymize
- Optional hash chain to detect changed or deleted events
Authentication
Read the docs →Sign in with Steam, Epic Games, and Xbox, configured and used like better-auth's built-in social providers.
- signIn.social, linkSocial, and better-auth's own callback
- Steam's OpenID answer is confirmed with Steam before it counts
- Epic ID tokens verified against Epic's keys
- Placeholder emails nobody else can claim
Blocklist
Read the docs →Block disposable email domains, reserved usernames, unwanted names, weak passwords, and IP addresses.
- Checks every sign-up and update: email, OAuth, magic link, admin actions
- Catches ADMIN, ádmin, and look-alike letters
- Ready-made lists of disposable domains and reserved usernames
- Rules in your config, or managed by admins at runtime
Referral
Read the docs →Referral codes, sign-up attribution, and steps a referral must complete before it earns a reward.
- Attributes every sign-up method, social sign-in included
- Steps like a verified email or a first purchase before rewards
- Reward callback runs exactly once per referral
- Masked emails; codes don't reveal whose they are
Waitlist
Read the docs →Gate sign-up behind a waitlist. Admins approve entries, and only approved emails can create an account.
- Gates every way in: email, OAuth, magic link, server code
- Double opt-in, with status and leave links
- Single-use invite codes, bound to one email, that expire
- Never reveals who is on the waitlist
Why these plugins
Feels built in
Same shape as better-auth's own plugins: options, error codes, schema, hooks, and a client plugin.
Typed end to end
Options, endpoints, and responses are typed on the server and inferred on the client.
Small and opt-in
One package per plugin. Install only what you use; better-auth stays a peer dependency.