[PR #3420] [MERGED] Relax offline_access scope validation by removing prompt=consent requirement #4812

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

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/3420
Author: @tinkerer-shubh
Created: 7/17/2025
Status: Merged
Merged: 7/17/2025
Merged by: @Bekacru

Base: mainHead: fix-offline-access-prompt


📝 Commits (1)

  • 7e79745 Relax offline_access scope validation by removing prompt=consent requirement

📊 Changes

2 files changed (+2 additions, -8 deletions)

View changed files

📝 packages/better-auth/src/plugins/mcp/authorize.ts (+1 -4)
📝 packages/better-auth/src/plugins/oidc-provider/authorize.ts (+1 -4)

📄 Description

closes https://github.com/better-auth/better-auth/issues/3411


Summary by cubic

Removed the requirement for prompt=consent when requesting the offline_access scope, allowing clients to request offline access without extra prompts.


🔄 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/3420 **Author:** [@tinkerer-shubh](https://github.com/tinkerer-shubh) **Created:** 7/17/2025 **Status:** ✅ Merged **Merged:** 7/17/2025 **Merged by:** [@Bekacru](https://github.com/Bekacru) **Base:** `main` ← **Head:** `fix-offline-access-prompt` --- ### 📝 Commits (1) - [`7e79745`](https://github.com/better-auth/better-auth/commit/7e797454aa99ba123e4d8f8021463818c2767b7b) Relax offline_access scope validation by removing prompt=consent requirement ### 📊 Changes **2 files changed** (+2 additions, -8 deletions) <details> <summary>View changed files</summary> 📝 `packages/better-auth/src/plugins/mcp/authorize.ts` (+1 -4) 📝 `packages/better-auth/src/plugins/oidc-provider/authorize.ts` (+1 -4) </details> ### 📄 Description closes https://github.com/better-auth/better-auth/issues/3411 <!-- This is an auto-generated description by cubic. --> --- ## Summary by cubic Removed the requirement for prompt=consent when requesting the offline_access scope, allowing clients to request offline access without extra prompts. <!-- 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:00:41 -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#4812