-
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.2release/26.0.0team/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
We are using a dedicated hostname-admin URL.
When creating a new IdP (i,e SSO with clients' AD), we have to share the redirect URL. The URL contains the admin url and not the frontend url.
Version
25.0.1
Regression
- The issue is a regression
Expected behavior
Frontend/Backend URL should be used to expose URLs and not the Administration URL.
Keycloak v25.0.0 works as expected!
Actual behavior
The URL contains the admin url and not the frontend url.
How to Reproduce?
Running keycloak 25.0.1
services:
keycloak:
image: quay.io/keycloak/keycloak:25.0.1
command: ["start-dev"]
restart: unless-stopped
environment:
KEYCLOAK_ADMIN: admin
KEYCLOAK_ADMIN_PASSWORD: password
KC_HOSTNAME: http://localhost:8081
KC_HOSTNAME_ADMIN: http://localhost:8082
ports:
- 8081:8080
- 8082:8080- browse to
http://localhost:8082<- the admin console URL - Go to
Identity providers(bottom left main menu) - create a new Identity Provider - doesn't matter which type (all have the same issue)
- Observe the Redirect URL:
(shows the admin hostname)
Running keycloak 25.0.0
services:
keycloak:
image: quay.io/keycloak/keycloak:25.0.0
command: ["start-dev"]
restart: unless-stopped
environment:
KEYCLOAK_ADMIN: admin
KEYCLOAK_ADMIN_PASSWORD: password
KC_HOSTNAME: http://localhost:8081
KC_HOSTNAME_ADMIN: http://localhost:8082
ports:
- 8081:8080
- 8082:8080- browse to
http://localhost:8082<- the admin console URL - Go to
Identity providers(bottom left main menu) - create a new Identity Provider - doesn't matter which type (all have the same issue)
- Observe the Redirect URL:
(shows the frontend hostname)
Anything else?
No response
Metadata
Metadata
Assignees
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.2release/26.0.0team/ui