Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Keycloak returns "404 - Not Found" page

Tags:

java

keycloak

I am trying to install Keycloak on my PC. I have the Java 8 JDK installed.

After running \bin\standalone.bat, when I go to the page 127.0.0.1:9990/auth, I am returned the error

404 - Not Found

screenshot of error page with title "Error" and body "404 - Not Found"

like image 346
NidhinRaj Avatar asked Jan 02 '18 06:01

NidhinRaj


2 Answers

I had set a "Frontend URL" (Keycloak Admin Console > Realm Settings > General Frontend Url) for the realm that looked like this: http://localhost:8080 while the client's "Root URL" was http://localhost:8080/auth.

After removing the "Frontend URL" everything worked fine. Another solution was to set both fields to http://localhost:8080/auth.

like image 104
Barthy Avatar answered Nov 11 '22 05:11

Barthy


The correct port for Keycloak is 8080. The 9990 is the port for Wildfly administration.
Use http://localhost:8080/auth

like image 35
Boomer Avatar answered Nov 11 '22 06:11

Boomer