Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Keycloak login page says "Page not found"?

Tags:

keycloak

I downloaded the latest Keycloak (17.0.0), start it with kc.bat start-dev and when I open localhost:8080 it redirects to localhost:8080/auth and this page is shown:

enter image description here

I can't make it work and get the page I get when I start the Keycloak standalone version 12...

Thanks in advance

like image 522
stacktrace2234 Avatar asked Oct 24 '25 11:10

stacktrace2234


2 Answers

In my case, I've tried to use keycloak 16 that has a login page at http://localhost:8080/auth. Then I've migrated to keycloak 20 that has a login page at http://localhost:8080/.

The browser has cached http://localhost:8080/auth and redirected me to this address every time I've tried to open http://localhost:8080/, so I've received "Page not found" error. I've tried to open login page in anonymous tab and it worked as expected.

To sum up, make sure to clear browser cache after migrating to keycloak 17+.

like image 61
bilbohhh Avatar answered Oct 27 '25 17:10

bilbohhh


the admin authentification in keycloak 17 is localhost:8080 without /auth you should run kc.bat start-dev on your cmd after check this url it worked for me. if it doesn't work try to re-run your cmd Keycloak admin interface

like image 24
Rachid ARDOUZ Avatar answered Oct 27 '25 15:10

Rachid ARDOUZ



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!