[GH-ISSUE #2348] Backend API to get the better-auth configuration (providers/plugins) #9158

Closed
opened 2026-04-13 04:31:20 -05:00 by GiteaMirror · 2 comments
Owner

Originally created by @guptaashwanee on GitHub (Apr 18, 2025).
Original GitHub issue: https://github.com/better-auth/better-auth/issues/2348

Originally assigned to: @ping-maxwell on GitHub.

Is this suited for github?

  • Yes, this is suited for github

Is there any way to get the auth configurations through APIs, like: configured social providers, plugins, other configurations, this can be useful for the front-end to visualize and configure UI auth elements.

Describe the solution you'd like

An endpoint /config or /providers can be implemented, that will return the auth config (only required to update the UI), based on the features available in the backend.

Describe alternatives you've considered

I have manually created the endpoint

/api/auth/config

and sending the required auth config through this.

Additional context

No response

Originally created by @guptaashwanee on GitHub (Apr 18, 2025). Original GitHub issue: https://github.com/better-auth/better-auth/issues/2348 Originally assigned to: @ping-maxwell on GitHub. ### Is this suited for github? - [x] Yes, this is suited for github ### Is your feature request related to a problem? Please describe. Is there any way to get the auth configurations through APIs, like: configured social providers, plugins, other configurations, this can be useful for the front-end to visualize and configure UI auth elements. ### Describe the solution you'd like An endpoint /config or /providers can be implemented, that will return the auth config (only required to update the UI), based on the features available in the backend. ### Describe alternatives you've considered I have manually created the endpoint /api/auth/config and sending the required auth config through this. ### Additional context _No response_
GiteaMirror added the enhancementlockedwontfix labels 2026-04-13 04:31:21 -05:00
Author
Owner

@Kinfe123 commented on GitHub (Apr 19, 2025):

it is not currently built-in for better auth but you can create plugin or an endpoint for that.

<!-- gh-comment-id:2816532734 --> @Kinfe123 commented on GitHub (Apr 19, 2025): it is not currently built-in for better auth but you can create plugin or an endpoint for that.
Author
Owner

@ping-maxwell commented on GitHub (Apr 20, 2025):

We likely won't be implementing this.
I'll close this for now, if you have any questions just ping me

<!-- gh-comment-id:2817113574 --> @ping-maxwell commented on GitHub (Apr 20, 2025): We likely won't be implementing this. I'll close this for now, if you have any questions just *ping* me
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/better-auth#9158