[PR #6282] [MERGED] fix(oidc-provider): session shouldn't be required #6566

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

📋 Pull Request Information

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

Base: canaryHead: fix/oidc-userinfo


📝 Commits (1)

  • 87eb2dc fix(oidc): session shouldn't be required

📊 Changes

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

View changed files

📝 packages/better-auth/src/plugins/oidc-provider/index.ts (+0 -1)

📄 Description

Summary by cubic

Stop requiring a session for the OIDC /userinfo endpoint by removing sessionMiddleware. This aligns with the OIDC spec and fixes 401s for clients using only an access token.

Written for commit 87eb2dc2d1. 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/6282 **Author:** [@Bekacru](https://github.com/Bekacru) **Created:** 11/25/2025 **Status:** ✅ Merged **Merged:** 11/25/2025 **Merged by:** [@Bekacru](https://github.com/Bekacru) **Base:** `canary` ← **Head:** `fix/oidc-userinfo` --- ### 📝 Commits (1) - [`87eb2dc`](https://github.com/better-auth/better-auth/commit/87eb2dc2d17916626c440a017a686a3497d2bea7) fix(oidc): session shouldn't be required ### 📊 Changes **1 file changed** (+0 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `packages/better-auth/src/plugins/oidc-provider/index.ts` (+0 -1) </details> ### 📄 Description <!-- This is an auto-generated description by cubic. --> ## Summary by cubic Stop requiring a session for the OIDC /userinfo endpoint by removing sessionMiddleware. This aligns with the OIDC spec and fixes 401s for clients using only an access token. <sup>Written for commit 87eb2dc2d17916626c440a017a686a3497d2bea7. 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:03:31 -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#6566