[PR #3324] [MERGED] fix(username): add callbackURL option to signInUsername #30356

Closed
opened 2026-04-17 21:28:29 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

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

Base: mainHead: fix/username-callbackURL


📝 Commits (1)

  • c749ccf fix(username): add callbackURL option to signInUsername

📊 Changes

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

View changed files

📝 packages/better-auth/src/plugins/username/index.ts (+5 -0)

📄 Description

Added callbackURL to body validator.

Handling of this option is already present here:

c749ccf869/packages/better-auth/src/plugins/username/index.ts (L160)

b766b22865/packages/better-auth/src/api/routes/email-verification.ts (L55)


🔄 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/3324 **Author:** [@aleclarson](https://github.com/aleclarson) **Created:** 7/10/2025 **Status:** ✅ Merged **Merged:** 7/10/2025 **Merged by:** [@Bekacru](https://github.com/Bekacru) **Base:** `main` ← **Head:** `fix/username-callbackURL` --- ### 📝 Commits (1) - [`c749ccf`](https://github.com/better-auth/better-auth/commit/c749ccf86934a276f4de732a7ada0b71b2f4c782) fix(username): add `callbackURL` option to `signInUsername` ### 📊 Changes **1 file changed** (+5 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `packages/better-auth/src/plugins/username/index.ts` (+5 -0) </details> ### 📄 Description Added `callbackURL` to body validator. Handling of this option is already present here: https://github.com/better-auth/better-auth/blob/c749ccf86934a276f4de732a7ada0b71b2f4c782/packages/better-auth/src/plugins/username/index.ts#L160 https://github.com/better-auth/better-auth/blob/b766b22865895f5cdd7dc575b0cc2e023e795740/packages/better-auth/src/api/routes/email-verification.ts#L55 --- <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 21:28:29 -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#30356