Skip to content

fix(providers): enable OIDC capabilities for Keycloak#12964

Merged
ThangHuuVu merged 2 commits intonextauthjs:mainfrom
jvllmr:keycloak-oidc
May 13, 2025
Merged

fix(providers): enable OIDC capabilities for Keycloak#12964
ThangHuuVu merged 2 commits intonextauthjs:mainfrom
jvllmr:keycloak-oidc

Conversation

@jvllmr
Copy link
Contributor

@jvllmr jvllmr commented May 12, 2025

☕️ Reasoning

Keycloak is an OpenID Connect provider, but it is only defined as an OAuth provider. Because of this OpenID capabilities such as using user data from the userinfo endpoint via the idToken configuration parameter are not available to users although keycloak could support them.

🧢 Checklist

  • Documentation
  • Tests
  • Ready to be merged

🎫 Affected issues

📌 Resources

@jvllmr jvllmr requested a review from ThangHuuVu as a code owner May 12, 2025 16:54
@vercel
Copy link

vercel bot commented May 12, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
auth-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 13, 2025 1:52am
1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
next-auth-docs ⬜️ Ignored (Inspect) Visit Preview May 13, 2025 1:52am

@vercel
Copy link

vercel bot commented May 12, 2025

@jvllmr is attempting to deploy a commit to the authjs Team on Vercel.

A member of the Team first needs to authorize it.

@ThangHuuVu ThangHuuVu merged commit 0adbd10 into nextauthjs:main May 13, 2025
11 of 13 checks passed
@codecov
Copy link

codecov bot commented May 13, 2025

Codecov Report

Attention: Patch coverage is 0% with 3 lines in your changes missing coverage. Please review.

Project coverage is 39.18%. Comparing base (f39867a) to head (85a027b).
Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
packages/core/src/providers/keycloak.ts 0.00% 3 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main   #12964   +/-   ##
=======================================
  Coverage   39.18%   39.18%           
=======================================
  Files         200      200           
  Lines       31612    31612           
  Branches     1380     1380           
=======================================
  Hits        12388    12388           
  Misses      19224    19224           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

core Refers to `@auth/core` providers

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants