[GH-ISSUE #5865] [Feature Request] Keycloak Sign In Provider #18993

Closed
opened 2026-04-15 17:44:33 -05:00 by GiteaMirror · 3 comments
Owner

Originally created by @niassuh1 on GitHub (Nov 9, 2025).
Original GitHub issue: https://github.com/better-auth/better-auth/issues/5865

Is this suited for github?

  • Yes, this is suited for github

No response

Describe the solution you'd like

Adding a "Keycloak" login social provider.

Describe alternatives you've considered

AuthJS (Next Auth) already has a keycloak social provider

Additional context

No response

Originally created by @niassuh1 on GitHub (Nov 9, 2025). Original GitHub issue: https://github.com/better-auth/better-auth/issues/5865 ### Is this suited for github? - [ ] Yes, this is suited for github ### Is your feature request related to a problem? Please describe. _No response_ ### Describe the solution you'd like Adding a "Keycloak" login social provider. ### Describe alternatives you've considered AuthJS (Next Auth) already has a keycloak social provider ### Additional context _No response_
GiteaMirror added the locked label 2026-04-15 17:44:33 -05:00
Author
Owner

@better-auth-agent[bot] commented on GitHub (Nov 9, 2025):

(tag @better-auth-agent if you would like an answer from the Agent)

DiagramDiscordGitHub

Diagram Join Star

<!-- gh-comment-id:3507592676 --> @better-auth-agent[bot] commented on GitHub (Nov 9, 2025): (tag @better-auth-agent if you would like an answer from the Agent) <!-- bot:webhook reply v1 --> [Diagram](https://repodiagrams.s3.eu-north-1.amazonaws.com/better-auth_ultra_detailed_interactive.html) • [Discord](https://discord.gg/better-auth) • [GitHub](https://github.com/better-auth/better-auth) [![Diagram](https://img.shields.io/badge/Diagram-2b3137?style=flat-square)](https://repodiagrams.s3.eu-north-1.amazonaws.com/better-auth_ultra_detailed_interactive.html) [![Join](https://img.shields.io/badge/join-5865F2?logo=discord&logoColor=white&style=flat-square)](https://discord.gg/better-auth) [![Star](https://img.shields.io/badge/star-181717?logo=github&logoColor=white&style=flat-square)](https://github.com/better-auth/better-auth)
Author
Owner

@KazBrekker1 commented on GitHub (Nov 12, 2025):

You can use the genericOath plugin to use keycloak as specified in #2199 in the Issue statement.

<!-- gh-comment-id:3521007419 --> @KazBrekker1 commented on GitHub (Nov 12, 2025): You can use the genericOath plugin to use keycloak as specified in [#2199](https://github.com/better-auth/better-auth/issues/2199) in the Issue statement.
Author
Owner

@dosubot[bot] commented on GitHub (Feb 11, 2026):

Hi, @niassuh1. I'm Dosu, and I'm helping the better-auth team manage their backlog and am marking this issue as stale.

Issue Summary:

  • You requested adding Keycloak as a social login provider, noting that AuthJS already supports it.
  • The maintainer explained that Keycloak can be integrated using the existing genericOAuth plugin.
  • Reference was made to issue #2199 for detailed guidance.
  • Documentation and community resources were provided to assist with integration.
  • The issue was resolved with the confirmation that no new plugin is needed.

Next Steps:

  • Please confirm if this solution still works for you with the latest version of better-auth.
  • If it is still relevant, you can keep the discussion open by commenting; otherwise, this issue will be automatically closed in 7 days.

Thank you for your understanding and contribution!

<!-- gh-comment-id:3885427554 --> @dosubot[bot] commented on GitHub (Feb 11, 2026): Hi, @niassuh1. I'm [Dosu](https://dosu.dev), and I'm helping the better-auth team manage their backlog and am marking this issue as stale. **Issue Summary:** - You requested adding Keycloak as a social login provider, noting that AuthJS already supports it. - The maintainer explained that Keycloak can be integrated using the existing genericOAuth plugin. - Reference was made to issue #2199 for detailed guidance. - Documentation and community resources were provided to assist with integration. - The issue was resolved with the confirmation that no new plugin is needed. **Next Steps:** - Please confirm if this solution still works for you with the latest version of better-auth. - If it is still relevant, you can keep the discussion open by commenting; otherwise, this issue will be automatically closed in 7 days. Thank you for your understanding and contribution!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/better-auth#18993