-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Closed
Labels
area/admin/uikind/bugCategorizes a PR related to a bugCategorizes a PR related to a bugpriority/blockerHighest Priority. Has a deadline and it blocks other tasksHighest Priority. Has a deadline and it blocks other tasksrelease/25.0.0status/reopenedteam/ui
Milestone
Description
Before reporting an issue
- I have read and understood the above terms for submitting issues, and I understand that my issue may be closed without action if I do not follow them.
Area
admin/ui
Describe the bug
The Admin Console seems to be using the admin URL type instead of frontend URL type when configuring auth server URL in the JS adapter.
Version
main
Regression
- The issue is a regression
Expected behavior
When not logged in, the Admin Console should redirect the user to the login page using frontend URL.
Actual behavior
When not logged in, the Admin Console redirects the user to the login page using admin URL.
How to Reproduce?
- Start the server as:
kc.sh start-dev --hostname=http://127.0.0.1.nip.io:8080 --hostname-admin=http://admin.127.0.0.1.nip.io:8080
- Access: http://127.0.0.1.nip.io:8080/admin
- Browser is redirected to login page at
http://admin.127.0.0.1.nip.io:8080/realms/master/protocol/openid-connect/auth?...
This behaviour is incorrect. Login flow needs to be always executed at frontend URL, in this case http://127.0.0.1.nip.io:8080.
Anything else?
This caused by e28aa90.
Metadata
Metadata
Labels
area/admin/uikind/bugCategorizes a PR related to a bugCategorizes a PR related to a bugpriority/blockerHighest Priority. Has a deadline and it blocks other tasksHighest Priority. Has a deadline and it blocks other tasksrelease/25.0.0status/reopenedteam/ui