-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Honor baseUrl when generating client home url in admin-ui #34016
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
Honor baseUrl when generating client home url in admin-ui #34016
Conversation
0fad2e4 to
949b59a
Compare
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
|
@thomasdarimont could you also update the tests for this one? |
949b59a to
a0b47d4
Compare
|
@jonkoops I added some tests for the generated Home URLs for built-in clients and fixed an existing incorrect test for "test when root url constrains ${authAdminUrl}" |
…4015) Previously, the baseUrl was not considered when ${authAdminUrl} was used in the URLs, e.g. for security-admin-console client. Fixes keycloak#34015 Signed-off-by: Thomas Darimont <[email protected]>
- Fix url parameterization in "test when root url constrains ${authAdminUrl}"
- Add tests for home URL for built-in clients (account-console, security-admin-console)
- Add data-testid attribute to ease finding client home URLs
Signed-off-by: Thomas Darimont <[email protected]>
a0b47d4 to
af43f0b
Compare
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 great @thomasdarimont, thanks for this!
…ole (keycloak#34016) Closes keycloak#34015 Signed-off-by: Thomas Darimont <[email protected]> (cherry picked from commit c7bcb26)
|
Backport for v26 is up under #34087 |
…ole (#34016) (#34087) Closes #34015 Signed-off-by: Thomas Darimont <[email protected]> (cherry picked from commit c7bcb26) Co-authored-by: Thomas Darimont <[email protected]>
Previously, the baseUrl was not considered when ${authAdminUrl} was used in the URLs, e.g. for security-admin-console client.
Fixes #34015