[PR #2878] [MERGED] (feat:oidcProvider): Trusted Client implementation #30139

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

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/2878
Author: @BadPirate
Created: 6/2/2025
Status: Merged
Merged: 7/16/2025
Merged by: @Bekacru

Base: v1.3Head: feat/2867-oidcprovider-trusted-client


📝 Commits (8)

  • ca3f5c6 (feat:oidcProvider): Trusted Client implementation
  • 03986e8 Apply suggestions from code review
  • 04964f3 lint
  • b6c3310 Merge branch 'better-auth:main' into feat/2867-oidcprovider-trusted-client
  • 576fd44 Merge branch 'main' into feat/2867-oidcprovider-trusted-client
  • ebe40b3 fix: model name
  • caf5cce Merge branch 'v1.3' into pr/2878
  • 1a43555 chore: cleanup

📊 Changes

4 files changed (+108 additions, -41 deletions)

View changed files

📝 docs/content/docs/plugins/oidc-provider.mdx (+42 -0)
📝 packages/better-auth/src/plugins/oidc-provider/authorize.ts (+12 -21)
📝 packages/better-auth/src/plugins/oidc-provider/index.ts (+44 -20)
📝 packages/better-auth/src/plugins/oidc-provider/types.ts (+10 -0)

📄 Description

  • Add trustedClients configuration to OIDCOptions
  • Add skipConsent property to Client interface
  • Implement unified getClient() function for layered lookup
  • Update authorize and token flows to support trusted clients
  • Add comprehensive documentation and examples

Resolves #2876


🔄 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/2878 **Author:** [@BadPirate](https://github.com/BadPirate) **Created:** 6/2/2025 **Status:** ✅ Merged **Merged:** 7/16/2025 **Merged by:** [@Bekacru](https://github.com/Bekacru) **Base:** `v1.3` ← **Head:** `feat/2867-oidcprovider-trusted-client` --- ### 📝 Commits (8) - [`ca3f5c6`](https://github.com/better-auth/better-auth/commit/ca3f5c6664fbbd15fdae5a33d9ead1bbeffa6810) (feat:oidcProvider): Trusted Client implementation - [`03986e8`](https://github.com/better-auth/better-auth/commit/03986e80ec39a50e5efa66eba53b4f6939ed08b3) Apply suggestions from code review - [`04964f3`](https://github.com/better-auth/better-auth/commit/04964f38f143bf0538a9aaf3c586bce31ead9384) lint - [`b6c3310`](https://github.com/better-auth/better-auth/commit/b6c33106385862c8ec2ada3af2680f10c6c96547) Merge branch 'better-auth:main' into feat/2867-oidcprovider-trusted-client - [`576fd44`](https://github.com/better-auth/better-auth/commit/576fd44b0bd3254116b8e721bb4ac4d682258aff) Merge branch 'main' into feat/2867-oidcprovider-trusted-client - [`ebe40b3`](https://github.com/better-auth/better-auth/commit/ebe40b399602568930a0ad3bfdaf85c4cf8ede23) fix: model name - [`caf5cce`](https://github.com/better-auth/better-auth/commit/caf5cce011aa5ef0d9d4fbd4db06e45c660662c9) Merge branch 'v1.3' into pr/2878 - [`1a43555`](https://github.com/better-auth/better-auth/commit/1a43555c22809fc078ced363c847aa2b2410862f) chore: cleanup ### 📊 Changes **4 files changed** (+108 additions, -41 deletions) <details> <summary>View changed files</summary> 📝 `docs/content/docs/plugins/oidc-provider.mdx` (+42 -0) 📝 `packages/better-auth/src/plugins/oidc-provider/authorize.ts` (+12 -21) 📝 `packages/better-auth/src/plugins/oidc-provider/index.ts` (+44 -20) 📝 `packages/better-auth/src/plugins/oidc-provider/types.ts` (+10 -0) </details> ### 📄 Description - Add trustedClients configuration to OIDCOptions - Add skipConsent property to Client interface - Implement unified getClient() function for layered lookup - Update authorize and token flows to support trusted clients - Add comprehensive documentation and examples Resolves #2876 --- <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:19:27 -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#30139