[PR #6833] [MERGED] fix(sso): use default import for zod/v4 #6911

Closed
opened 2026-03-13 13:16:51 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/6833
Author: @Paola3stefania
Created: 12/17/2025
Status: Merged
Merged: 12/17/2025
Merged by: @Bekacru

Base: canaryHead: fix/sso-zod-import


📝 Commits (1)

📊 Changes

1 file changed (+2 additions, -2 deletions)

View changed files

📝 packages/sso/src/routes/sso.ts (+2 -2)

📄 Description

Summary by cubic

Use default import for zod/v4 and fix token type in SSO provider to resolve build-time type errors and ensure domain verification tokens are stored correctly.

  • Bug Fixes
    • Switched zod/v4 to default import.
    • Cast domainVerificationToken to string when saving the provider token.

Written for commit dffd4ff630. Summary will update automatically on new commits.


🔄 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/6833 **Author:** [@Paola3stefania](https://github.com/Paola3stefania) **Created:** 12/17/2025 **Status:** ✅ Merged **Merged:** 12/17/2025 **Merged by:** [@Bekacru](https://github.com/Bekacru) **Base:** `canary` ← **Head:** `fix/sso-zod-import` --- ### 📝 Commits (1) - [`dffd4ff`](https://github.com/better-auth/better-auth/commit/dffd4ff630e3515886991a570f56b716e5b5199d) fix: imports and type ### 📊 Changes **1 file changed** (+2 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `packages/sso/src/routes/sso.ts` (+2 -2) </details> ### 📄 Description <!-- This is an auto-generated description by cubic. --> ## Summary by cubic Use default import for zod/v4 and fix token type in SSO provider to resolve build-time type errors and ensure domain verification tokens are stored correctly. - **Bug Fixes** - Switched zod/v4 to default import. - Cast domainVerificationToken to string when saving the provider token. <sup>Written for commit dffd4ff630e3515886991a570f56b716e5b5199d. Summary will update automatically on new commits.</sup> <!-- 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 13:16:51 -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#6911