Admin Console not showing under circumstances
See original GitHub issueDescribe the bug
Using different http/https and proxy configurations is easy enough to end up with the Admin UI not working and staying in a page reload infinite loop.
Me and @vmuzikar narrowed down the issue to an incorrect variable value (namely authServerUrl
) being injected into an “in-page” javascript block:
<script type="[text/javascript]()">
var authServerUrl = 'https://localhost';
var authUrl = 'http://localhost:8080';
var consoleBaseUrl = '/admin/master/console/';
var resourceUrl = '/resources/xa1ud/admin/keycloak';
var masterRealm = 'master';
var resourceVersion = 'xa1ud';
</script>
The problem shows up in various situations:
export KC_DB=dev-mem
export KC_HOSTNAME=localhost
export KC_HTTP_ENABLED=true
./bin/kc.sh start --auto-build
or even:
./bin/kc.sh start --auto-build --hostname="localhost" --proxy=edge
and again:
./bin/kc.sh start-dev --hostname="localhost" --proxy=edge
The problem shows up in three parts, the protocol (HTTP vs. HTTPS), the hostname mangling, and the associated port.
Version
18.0.0
Expected behavior
No response
Actual behavior
No response
How to Reproduce?
No response
Anything else?
No response
Issue Analytics
- State:
- Created a year ago
- Reactions:1
- Comments:9 (9 by maintainers)
Top Results From Across the Web
Can't sign in to the Admin console - Google Support
If no one else can help you: Go to admin.google.com. Enter your admin username if it doesn't already appear on the sign-in page...
Read more >Admin console error and topics not showing up - RTI Community
Here are my assumptions at the moment: Admin console is not showing the topics due to an error in receiving the type codes....
Read more >Admin Console Link Not Showing Up - Tips and Tricks
I just now converted my Workspace to an Organization. This was so I can use the “Guests” feature for my contract workers.
Read more >Admin Console is not working properly - GoTo Community
Good morning, I am trying to assign newly purchased licenses to some employees through the Admin console but every time I go to...
Read more >Solved: Cannot see user in admin console - Zoom Community
We have a user who has successfully joined our corporate account, however, we are unable to see them in the console to assign...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@andreaTP Thanks, closed https://github.com/keycloak/keycloak/issues/12020.
@vmuzikar I actually used #11581 to follow up. PR is: #12021