[PR #8029] [MERGED] test(oauth-provider): update remaining consent response assertions from uri to url #33297

Closed
opened 2026-04-17 23:56:07 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/8029
Author: @bytaesu
Created: 2/17/2026
Status: Merged
Merged: 2/17/2026
Merged by: @bytaesu

Base: canaryHead: 2026-02-18/test/oauth-provider-consent-url


📝 Commits (1)

  • f449605 test(oauth-provider): update remaining consent response assertions from uri to url

📊 Changes

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

View changed files

📝 packages/oauth-provider/src/oauth.test.ts (+5 -5)

📄 Description

Summary by cubic

Updated oauth-provider consent response tests to use url instead of uri, aligning with the current response shape and preventing failures in the prompt consent flow.
Replaced consentRes.uri with consentRes.url in assertions, callback URL parsing, and fetch calls.

Written for commit f449605a5f. Summary will update 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/8029 **Author:** [@bytaesu](https://github.com/bytaesu) **Created:** 2/17/2026 **Status:** ✅ Merged **Merged:** 2/17/2026 **Merged by:** [@bytaesu](https://github.com/bytaesu) **Base:** `canary` ← **Head:** `2026-02-18/test/oauth-provider-consent-url` --- ### 📝 Commits (1) - [`f449605`](https://github.com/better-auth/better-auth/commit/f449605a5ff9cb7cccdf200074ca80095a2220c2) test(oauth-provider): update remaining consent response assertions from uri to url ### 📊 Changes **1 file changed** (+5 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `packages/oauth-provider/src/oauth.test.ts` (+5 -5) </details> ### 📄 Description <!-- This is an auto-generated description by cubic. --> ## Summary by cubic Updated oauth-provider consent response tests to use url instead of uri, aligning with the current response shape and preventing failures in the prompt consent flow. Replaced consentRes.uri with consentRes.url in assertions, callback URL parsing, and fetch calls. <sup>Written for commit f449605a5ff9cb7cccdf200074ca80095a2220c2. Summary will update 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-17 23:56:07 -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#33297