-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Add new ProviderConfigProperty type to expose URLs in admin-v2 #27743
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add new ProviderConfigProperty type to expose URLs in admin-v2 #27743
Conversation
|
@jonkoops I think it's now complete and ready for review! It's my first contribution to such a big project so please be lenient 😅 |
hmlnarik
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for the PR. Please see inline
|
Just to be sure: all requested changes should have been taken care of! |
jonkoops
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like there are some code formatting issues, can you run the linter and fix them? It should be possible to do this automatically using pnpm --filter admin-ui lint -- --fix.
|
Sorry for the late review by the way, I was stuck on some other tasks for a while. |
Head branch was pushed to by a user without write access
Done! and thanks for taking the time to review |
|
@nicolabeghin took another look, and I agree we likely cannot get around this styling. This looks good to me, but we have to merge the PatternFly 5 upgrade first (see #28196). |
jonkoops
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, just some nits
Signed-off-by: Nicola Beghin <[email protected]>
|
@nicolabeghin for future reference, when pulling in from |
Signed-off-by: Nicola Beghin <[email protected]>
|
Thanks for your contribution and patience @nicolabeghin! I've set the PR to merge automatically once the CI completes. |
hmlnarik
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR!
Closes #27673
Approach 2 (wider)
Given after
admin-v2migration custom IdPs can already leverageConfiguredProviderto show new fields, it's possible to extend this structure with a new typeUrlto be used to show any given URL, therefore adding any number of read-only URLs in the admin UI.Example output from custom SAML IdP configured with