[PR #5138] [MERGED] fix(sso): add deprecated flag to the old sso plugin export #5804

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

📋 Pull Request Information

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

Base: canaryHead: fix/sso


📝 Commits (1)

  • c04f7bf fix(sso): add deperact message to the old sso export

📊 Changes

1 file changed (+3 additions, -0 deletions)

View changed files

📝 packages/better-auth/src/plugins/sso/index.ts (+3 -0)

📄 Description

Summary by cubic

Deprecated the legacy SSO export and added guidance to migrate to the @better-auth/sso plugin. This prepares for removal in the next major release.

  • Migration
    • Install @better-auth/sso and import sso from the plugin.
    • Replace any sso imports from better-auth with @better-auth/sso.

🔄 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/5138 **Author:** [@Bekacru](https://github.com/Bekacru) **Created:** 10/7/2025 **Status:** ✅ Merged **Merged:** 10/7/2025 **Merged by:** [@himself65](https://github.com/himself65) **Base:** `canary` ← **Head:** `fix/sso` --- ### 📝 Commits (1) - [`c04f7bf`](https://github.com/better-auth/better-auth/commit/c04f7bfac3dda23a7c994d2b62ddfa3e851ef6e7) fix(sso): add deperact message to the old sso export ### 📊 Changes **1 file changed** (+3 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `packages/better-auth/src/plugins/sso/index.ts` (+3 -0) </details> ### 📄 Description <!-- This is an auto-generated description by cubic. --> ## Summary by cubic Deprecated the legacy SSO export and added guidance to migrate to the @better-auth/sso plugin. This prepares for removal in the next major release. - **Migration** - Install @better-auth/sso and import sso from the plugin. - Replace any sso imports from better-auth with @better-auth/sso. <!-- 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:36:58 -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#5804