[PR #6123] [MERGED] chore(sso): support form-urlencoded for callback endpoint #14711

Closed
opened 2026-04-13 09:35:56 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/6123
Author: @albertpurnama
Created: 11/20/2025
Status: Merged
Merged: 11/20/2025
Merged by: @Bekacru

Base: canaryHead: allow-saml2-callback-www-url-encoded


📝 Commits (1)

  • f14fb4b Allow x-www-form-url-encoded

📊 Changes

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

View changed files

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

📄 Description

Summary by cubic

Adds support for application/x-www-form-urlencoded on the SAML callback endpoint, alongside application/json. Improves compatibility with IdPs that send form-encoded payloads.

Written for commit f14fb4bbd4. 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/6123 **Author:** [@albertpurnama](https://github.com/albertpurnama) **Created:** 11/20/2025 **Status:** ✅ Merged **Merged:** 11/20/2025 **Merged by:** [@Bekacru](https://github.com/Bekacru) **Base:** `canary` ← **Head:** `allow-saml2-callback-www-url-encoded` --- ### 📝 Commits (1) - [`f14fb4b`](https://github.com/better-auth/better-auth/commit/f14fb4bbd46e89445b0b7857542d8afd275c56d6) Allow x-www-form-url-encoded ### 📊 Changes **1 file changed** (+4 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `packages/sso/src/routes/sso.ts` (+4 -0) </details> ### 📄 Description <!-- This is an auto-generated description by cubic. --> ## Summary by cubic Adds support for application/x-www-form-urlencoded on the SAML callback endpoint, alongside application/json. Improves compatibility with IdPs that send form-encoded payloads. <sup>Written for commit f14fb4bbd46e89445b0b7857542d8afd275c56d6. 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-04-13 09:35:56 -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#14711