[PR #6083] [CLOSED] chore(demo): add odic provider #23331

Closed
opened 2026-04-15 21:38:18 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/6083
Author: @himself65
Created: 11/18/2025
Status: Closed

Base: canaryHead: himself65/2025/11/18/oidc-demo


📝 Commits (6)

  • d7a2684 chore(demo): add odic provider
  • b05a4fe feat: implement OAuth provider management with registration and deletion functionality
  • 22c7b57 fix: .well-known/openid-configuration
  • 80986d3 fix: lint
  • f034383 chore: add CORS supports
  • 00af132 chore: update demo

📊 Changes

9 files changed (+562 additions, -18 deletions)

View changed files

demo/nextjs/app/.well-known/openid-configuration/route.ts (+13 -0)
📝 demo/nextjs/app/api/auth/[...all]/route.ts (+34 -1)
📝 demo/nextjs/app/apps/register/page.tsx (+144 -11)
demo/nextjs/app/dashboard/actions.ts (+87 -0)
demo/nextjs/app/dashboard/oauth-providers-card.tsx (+235 -0)
📝 demo/nextjs/app/dashboard/page.tsx (+34 -0)
📝 demo/nextjs/app/oauth/authorize/concet-buttons.tsx (+3 -1)
📝 demo/nextjs/app/oauth/authorize/page.tsx (+7 -5)
📝 demo/nextjs/lib/auth.ts (+5 -0)

📄 Description

Summary by cubic

Added an OIDC provider with discovery at /.well-known/openid-configuration, with CORS enabled for discovery and auth endpoints and sign-ins routed through /sign-in. The dashboard now lets you register (with optional logo), list, and delete OAuth apps, shows one-time client credentials after registration, and lets you copy the Client ID and Secret.

Written for commit 00af132fcb. 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/6083 **Author:** [@himself65](https://github.com/himself65) **Created:** 11/18/2025 **Status:** ❌ Closed **Base:** `canary` ← **Head:** `himself65/2025/11/18/oidc-demo` --- ### 📝 Commits (6) - [`d7a2684`](https://github.com/better-auth/better-auth/commit/d7a2684aca22c2353aa642ecebe508b234acbf75) chore(demo): add odic provider - [`b05a4fe`](https://github.com/better-auth/better-auth/commit/b05a4fe5c4600ae144254fc3a0412a3d4153a6ac) feat: implement OAuth provider management with registration and deletion functionality - [`22c7b57`](https://github.com/better-auth/better-auth/commit/22c7b57cd1f95291e766333a31fec5e16bc36e23) fix: .well-known/openid-configuration - [`80986d3`](https://github.com/better-auth/better-auth/commit/80986d3fadc9e68fe7cb51508c0f27794f05449a) fix: lint - [`f034383`](https://github.com/better-auth/better-auth/commit/f034383acd7d94e5ac9b0000cbae762e0f36da76) chore: add CORS supports - [`00af132`](https://github.com/better-auth/better-auth/commit/00af132fcb0ddc56c21e41f11c73a8d82fde7c06) chore: update demo ### 📊 Changes **9 files changed** (+562 additions, -18 deletions) <details> <summary>View changed files</summary> ➕ `demo/nextjs/app/.well-known/openid-configuration/route.ts` (+13 -0) 📝 `demo/nextjs/app/api/auth/[...all]/route.ts` (+34 -1) 📝 `demo/nextjs/app/apps/register/page.tsx` (+144 -11) ➕ `demo/nextjs/app/dashboard/actions.ts` (+87 -0) ➕ `demo/nextjs/app/dashboard/oauth-providers-card.tsx` (+235 -0) 📝 `demo/nextjs/app/dashboard/page.tsx` (+34 -0) 📝 `demo/nextjs/app/oauth/authorize/concet-buttons.tsx` (+3 -1) 📝 `demo/nextjs/app/oauth/authorize/page.tsx` (+7 -5) 📝 `demo/nextjs/lib/auth.ts` (+5 -0) </details> ### 📄 Description <!-- This is an auto-generated description by cubic. --> ## Summary by cubic Added an OIDC provider with discovery at /.well-known/openid-configuration, with CORS enabled for discovery and auth endpoints and sign-ins routed through /sign-in. The dashboard now lets you register (with optional logo), list, and delete OAuth apps, shows one-time client credentials after registration, and lets you copy the Client ID and Secret. <sup>Written for commit 00af132fcb0ddc56c21e41f11c73a8d82fde7c06. 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-15 21:38:18 -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#23331