feat(KLEF-124): Idp readiness gate#18
Merged
isaacwallace123 merged 7 commits intomainfrom Apr 3, 2026
Merged
Conversation
Poll /api/v1/auth/config every 3s when ready:false (IDP installed but container still starting). Show a "Starting identity provider…" loading screen on the login page instead of the form, so the user isn't prompted to spam credentials before Keycloak is ready. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Installed plugins now show a red Uninstall button instead of the disabled Installed state. Errors (e.g. last IDP protection) surface as a banner above the plugin grid. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
err.message was showing axios's generic "Request failed with status code 400" instead of the actual backend message. Now reads err.response.data.error. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
isaacwallace123
approved these changes
Apr 3, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pull Request
Summary
typeandis_active_idpfieldsRelated Issues
Closes #
Changes
What's Included
src/lib/api/plugins.ts—typeandis_active_idpadded toInstalledPlugin;setActiveIDP()API call addedsrc/app/(authenticated)/marketplace/page.tsx—activeIDPIdstate seeded from installed plugins on load; green "Active" badge on the active IDP card; "Activate" button for installed IDP plugins that are not yet active;handleActivate()handler with loading/error stateWhat's Not Included
Testing
How Was This Tested?
docker compose upTest Coverage
Breaking Changes
Does this PR introduce breaking changes?
Security Considerations
"Activate" is only rendered when
isAdminis true. The underlying API endpoint is admin-gated server-side.Documentation
Does this PR require documentation updates?
UI/UX (If Applicable)
Screenshots or recordings: Active badge uses
bg-emerald-600; "Activate" button usesvariant="outline".Pre-Merge Checklist
feat:,fix:,chore:,docs:,refactor:,test:)Reviewer Notes