Configure post-logout redirect URI for OAuth2/OIDC - #1936
Conversation
|
AI Summary Kafka UI currently lacks a configured redirect URI after user logout, preventing the auth provider from returning to the application. This change adds a post-logout redirect URI to the OIDC configuration, ensuring the user is properly redirected back to Kafka UI following a session termination. |
There was a problem hiding this comment.
Hi DanielStuempel! 👋
Welcome, and thank you for opening your first PR in the repo!
Please wait for triaging by our maintainers.
Please take a look at our contributing guide.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThe default OIDC logout handler now sets ChangesOAuth logout flow
Estimated code review effort: 1 (Trivial) | ~5 minutes Mergeability Score: ⚪ Minimal · up to This localized authentication configuration change adds the post-logout redirect behavior; no actionable merge-blocking risk remains after normal checks and review. Suggested reviewers: Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
What changes did you make? (Give an overview)
Added a post logout redirect URI so the auth provider redirects back to Kafka UI after logout.
According to documentation: https://docs.spring.io/spring-security/reference/reactive/oauth2/login/logout.html#oauth2login-advanced-oidc-logout
Is there anything you'd like reviewers to focus on?
No.
How Has This Been Tested? (put an "x" (case-sensitive!) next to an item)
Checklist (put an "x" (case-sensitive!) next to all the items, otherwise the build will fail)
Check out Contributing and Code of Conduct
Summary by CodeRabbit