You can now control access to your app with our simple Better Auth plugin. Simply grant access to a prospect or batch in the dashboard allowing them to sign up while all other users are prevented from doing so.
import { hypePlugin } from "@buildhype/better-auth";
export const auth = betterAuth({
plugins: [hypePlugin({ apiKey: "your-secret-api-key" })],
});
See our complete documentation here.