From bf34533e4d0effdef68f63c6c4ba59ae272bb706 Mon Sep 17 00:00:00 2001
From: Multinite <145994855+Multinite@users.noreply.github.com>
Date: Sun, 8 Dec 2024 17:59:23 +1000
Subject: [PATCH] docs: community-plugins (#791)
---
docs/components/sidebar-content.tsx | 31 ++++++++++++++++++-
.../docs/plugins/community-plugins.mdx | 15 +++++++++
2 files changed, 45 insertions(+), 1 deletion(-)
create mode 100644 docs/content/docs/plugins/community-plugins.mdx
diff --git a/docs/components/sidebar-content.tsx b/docs/components/sidebar-content.tsx
index 1fd4b98cba..4591be5b94 100644
--- a/docs/components/sidebar-content.tsx
+++ b/docs/components/sidebar-content.tsx
@@ -944,6 +944,35 @@ export const contents: Content[] = [
),
href: "/docs/plugins/jwt",
},
+ {
+ title: "Other",
+ group: true,
+ href: "/docs/plugins/1st-party-plugins",
+ icon: () => ,
+ },
+ {
+ title: "Community Plugins",
+ href: "/docs/plugins/community-plugins",
+ icon: () => (
+
+ ),
+ },
],
},
{
@@ -1027,7 +1056,7 @@ export const contents: Content[] = [
{
title: "Security",
href: "/docs/reference/security",
- icon: () => ,
+ icon: () => ,
},
],
},
diff --git a/docs/content/docs/plugins/community-plugins.mdx b/docs/content/docs/plugins/community-plugins.mdx
new file mode 100644
index 0000000000..4ccad7a922
--- /dev/null
+++ b/docs/content/docs/plugins/community-plugins.mdx
@@ -0,0 +1,15 @@
+---
+title: Community Plugins
+description: A list of recommended community plugins.
+---
+
+This page showcases a list of recommended community made plugins.
+
+We encourage you to create custom plugins and maybe get added to the list!
+
+To create your own custom plugin, get started by reading our [plugins documentation](https://www.better-auth.com/docs/concepts/plugins). And if you want to share your plugin with the community, please open a pull request to add it to this list.
+
+| Plugin | Description |
+| ------------------------------------------------------------------------------------| ---------------------------------------------------------------------------------------------------- |
+| [better-auth-harmony](https://github.com/gekorm/better-auth-harmony/) | Email & phone normalization and additional validation, blocking over 55,000 temporary email domains. |
+| [validation-better-auth](https://github.com/Daanish2003/validation-better-auth) | Validate API request using any validation library (e.g., Zod, Yup) |