[PR #4399] [CLOSED] v1.3.8 #5360

Closed
opened 2026-03-13 12:20:12 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/4399
Author: @himself65
Created: 9/3/2025
Status: Closed

Base: canaryHead: v1.3.8-staging


📝 Commits (10+)

  • dbaae0a docs: hero section alignment with feature section on big screens (#4018)
  • ef481d8 chore: fix broken testomnial link
  • 9c46196 fix(sso): [⚠︎Security] - membership check should be required before allowing users to create sso for an organization
  • 5fdf5cd chore: update sso docs
  • efa60af chore: fix import typo
  • 3fd8581 docs: hero section alignment with feature section on big screens (#4018)
  • 64216f1 chore: fix broken testomnial link
  • 28e331a fix(sso): [⚠︎Security] - membership check should be required before allowing users to create sso for an organization
  • efa0c0b chore: update sso docs
  • 95f9e9a chore: fix import typo

📊 Changes

23 files changed (+1289 additions, -103 deletions)

View changed files

📝 docs/app/global.css (+1 -1)
📝 docs/components/sidebar-content.tsx (+20 -0)
docs/content/blogs/0-supabase-auth-to-planetscale-migration.mdx (+370 -0)
📝 docs/content/docs/authentication/google.mdx (+1 -1)
📝 docs/content/docs/concepts/client.mdx (+2 -2)
📝 docs/content/docs/concepts/users-accounts.mdx (+2 -2)
docs/content/docs/guides/auth0-migration-guide.mdx (+654 -0)
📝 docs/content/docs/installation.mdx (+1 -1)
📝 docs/content/docs/integrations/remix.mdx (+2 -2)
📝 docs/content/docs/integrations/svelte-kit.mdx (+1 -1)
📝 docs/content/docs/plugins/2fa.mdx (+2 -0)
📝 docs/content/docs/plugins/admin.mdx (+44 -39)
📝 docs/content/docs/plugins/community-plugins.mdx (+2 -0)
📝 docs/content/docs/plugins/oauth-proxy.mdx (+1 -1)
📝 docs/content/docs/plugins/organization.mdx (+2 -2)
📝 docs/content/docs/plugins/username.mdx (+62 -39)
📝 docs/content/docs/reference/resources.mdx (+16 -3)
docs/public/blogs/supabase-ps.png (+0 -0)
📝 docs/source.config.ts (+0 -2)
📝 packages/better-auth/src/plugins/admin/access/statement.ts (+2 -0)

...and 3 more files

📄 Description

Summary by cubic

Adds an admin endpoint to fetch a user by ID with proper access control, and ships comprehensive migration guides (Auth0 and Supabase→PlanetScale) alongside several docs and UI polish updates.

  • New Features

    • Admin: Added GET /admin/get-user with RBAC permission "get", new error code (YOU_ARE_NOT_ALLOWED_TO_GET_USER), and tests for admin/non-admin access.
  • Docs

    • New: Auth0 migration guide and Supabase Auth → Better Auth on PlanetScale blog; added sidebar link to the Auth0 guide.
    • Improvements: Username plugin API examples (APIMethod), Admin listUsers now uses a query object, 2FA doc clarifies user table, Remix/Svelte/SvelteKit examples fixed, Google doc tsx fence, new resource videos, added Attio and Cloudflare community plugins, selection highlight color in docs, and blog author schema cleanup.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/better-auth/better-auth/pull/4399 **Author:** [@himself65](https://github.com/himself65) **Created:** 9/3/2025 **Status:** ❌ Closed **Base:** `canary` ← **Head:** `v1.3.8-staging` --- ### 📝 Commits (10+) - [`dbaae0a`](https://github.com/better-auth/better-auth/commit/dbaae0ab2bc39de87dd4719e37f48e4b94ea2262) docs: hero section alignment with feature section on big screens (#4018) - [`ef481d8`](https://github.com/better-auth/better-auth/commit/ef481d8dcce32d377b412ad1a96ecb8e604c1787) chore: fix broken testomnial link - [`9c46196`](https://github.com/better-auth/better-auth/commit/9c4619626856bd4adbaa4564dd8c110921b1f498) fix(sso): [⚠︎Security] - membership check should be required before allowing users to create sso for an organization - [`5fdf5cd`](https://github.com/better-auth/better-auth/commit/5fdf5cd31a6099ee96e922470eca8adf92c5bc51) chore: update sso docs - [`efa60af`](https://github.com/better-auth/better-auth/commit/efa60af1c2d45a735ed397171bfca513b7e202ca) chore: fix import typo - [`3fd8581`](https://github.com/better-auth/better-auth/commit/3fd858163a393153386c4bb2795abfacd09f091e) docs: hero section alignment with feature section on big screens (#4018) - [`64216f1`](https://github.com/better-auth/better-auth/commit/64216f13250200169717f47225a17df08d2fee2a) chore: fix broken testomnial link - [`28e331a`](https://github.com/better-auth/better-auth/commit/28e331a114ad0cb4e5968c29685c2f7e24187fcc) fix(sso): [⚠︎Security] - membership check should be required before allowing users to create sso for an organization - [`efa0c0b`](https://github.com/better-auth/better-auth/commit/efa0c0ba1b4793d14a2f3f355a82e4086ed4338a) chore: update sso docs - [`95f9e9a`](https://github.com/better-auth/better-auth/commit/95f9e9a39a5b3ca5192dcd174025da1427f01458) chore: fix import typo ### 📊 Changes **23 files changed** (+1289 additions, -103 deletions) <details> <summary>View changed files</summary> 📝 `docs/app/global.css` (+1 -1) 📝 `docs/components/sidebar-content.tsx` (+20 -0) ➕ `docs/content/blogs/0-supabase-auth-to-planetscale-migration.mdx` (+370 -0) 📝 `docs/content/docs/authentication/google.mdx` (+1 -1) 📝 `docs/content/docs/concepts/client.mdx` (+2 -2) 📝 `docs/content/docs/concepts/users-accounts.mdx` (+2 -2) ➕ `docs/content/docs/guides/auth0-migration-guide.mdx` (+654 -0) 📝 `docs/content/docs/installation.mdx` (+1 -1) 📝 `docs/content/docs/integrations/remix.mdx` (+2 -2) 📝 `docs/content/docs/integrations/svelte-kit.mdx` (+1 -1) 📝 `docs/content/docs/plugins/2fa.mdx` (+2 -0) 📝 `docs/content/docs/plugins/admin.mdx` (+44 -39) 📝 `docs/content/docs/plugins/community-plugins.mdx` (+2 -0) 📝 `docs/content/docs/plugins/oauth-proxy.mdx` (+1 -1) 📝 `docs/content/docs/plugins/organization.mdx` (+2 -2) 📝 `docs/content/docs/plugins/username.mdx` (+62 -39) 📝 `docs/content/docs/reference/resources.mdx` (+16 -3) ➕ `docs/public/blogs/supabase-ps.png` (+0 -0) 📝 `docs/source.config.ts` (+0 -2) 📝 `packages/better-auth/src/plugins/admin/access/statement.ts` (+2 -0) _...and 3 more files_ </details> ### 📄 Description <!-- This is an auto-generated description by cubic. --> ## Summary by cubic Adds an admin endpoint to fetch a user by ID with proper access control, and ships comprehensive migration guides (Auth0 and Supabase→PlanetScale) alongside several docs and UI polish updates. - **New Features** - Admin: Added GET /admin/get-user with RBAC permission "get", new error code (YOU_ARE_NOT_ALLOWED_TO_GET_USER), and tests for admin/non-admin access. - **Docs** - New: Auth0 migration guide and Supabase Auth → Better Auth on PlanetScale blog; added sidebar link to the Auth0 guide. - Improvements: Username plugin API examples (APIMethod), Admin listUsers now uses a query object, 2FA doc clarifies user table, Remix/Svelte/SvelteKit examples fixed, Google doc tsx fence, new resource videos, added Attio and Cloudflare community plugins, selection highlight color in docs, and blog author schema cleanup. <!-- End of auto-generated description by cubic. --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-03-13 12:20:12 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/better-auth#5360