[PR #5332] [MERGED] chore: remove deprecated sso plugin from better-auth #31535

Closed
opened 2026-04-17 22:25:59 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/5332
Author: @himself65
Created: 10/15/2025
Status: Merged
Merged: 10/15/2025
Merged by: @himself65

Base: canaryHead: himself65/2025/10/15/sso


📝 Commits (1)

  • b95e36d chore: remove deprecated sso plugin from better-auth

📊 Changes

6 files changed (+2 additions, -1700 deletions)

View changed files

📝 packages/better-auth/package.json (+0 -13)
packages/better-auth/src/plugins/sso/client.ts (+0 -9)
packages/better-auth/src/plugins/sso/index.ts (+0 -1084)
packages/better-auth/src/plugins/sso/sso.test.ts (+0 -591)
📝 packages/better-auth/tsdown.config.ts (+0 -1)
📝 packages/cli/src/commands/init.ts (+2 -2)

📄 Description

Summary by cubic

Removed the deprecated SSO plugin from better-auth and updated the CLI to use the external @better-auth/sso package. This removes internal SSO exports, code, and tests, and ensures new projects use the supported plugin.

  • Migration
    • Install @better-auth/sso and update imports:
      • Server: better-auth/plugins/sso → @better-auth/sso
      • Client: better-auth/client/plugins → @better-auth/sso/client
    • Remove any references to better-auth’s plugins/sso export, which no longer exists.

🔄 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/5332 **Author:** [@himself65](https://github.com/himself65) **Created:** 10/15/2025 **Status:** ✅ Merged **Merged:** 10/15/2025 **Merged by:** [@himself65](https://github.com/himself65) **Base:** `canary` ← **Head:** `himself65/2025/10/15/sso` --- ### 📝 Commits (1) - [`b95e36d`](https://github.com/better-auth/better-auth/commit/b95e36d083ddd55313181f42840f917930cd0459) chore: remove deprecated sso plugin from `better-auth` ### 📊 Changes **6 files changed** (+2 additions, -1700 deletions) <details> <summary>View changed files</summary> 📝 `packages/better-auth/package.json` (+0 -13) ➖ `packages/better-auth/src/plugins/sso/client.ts` (+0 -9) ➖ `packages/better-auth/src/plugins/sso/index.ts` (+0 -1084) ➖ `packages/better-auth/src/plugins/sso/sso.test.ts` (+0 -591) 📝 `packages/better-auth/tsdown.config.ts` (+0 -1) 📝 `packages/cli/src/commands/init.ts` (+2 -2) </details> ### 📄 Description <!-- This is an auto-generated description by cubic. --> ## Summary by cubic Removed the deprecated SSO plugin from better-auth and updated the CLI to use the external @better-auth/sso package. This removes internal SSO exports, code, and tests, and ensures new projects use the supported plugin. - **Migration** - Install @better-auth/sso and update imports: - Server: better-auth/plugins/sso → @better-auth/sso - Client: better-auth/client/plugins → @better-auth/sso/client - Remove any references to better-auth’s plugins/sso export, which no longer exists. <!-- 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-04-17 22:25:59 -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#31535