Login page not loading

I’m creating a react app which will have the keycloak authentication, I created the realm and client for that and using those to

const keycloak = new Keycloak({
 url: "http://localhost:8080/auth",
 realm: "master",
 clientId: "Test-App-realm",

this successfully redirects to the keycloack but the in the place of the sign in fields I’m getting page not found.

Can some one help me to resolve this? I’m using latest keycloack version 18.0.0.

You need to remove “/auth” from path, that was deprecated since Quarkus distribution. If you want to continue to use it, you need to proceed with that environment variable:


1 Like

It’s working for me now, thank you @hoozr :slightly_smiling_face:

1 Like

That’s only half the rent.
You most probably don’t want to authenticate your users agains the master realm and a client Test-App-realm. Most likely, you want your users to authenticate in realm Test-App-realm with a client which is configured in this realm and also the user is configured in this realm.
The master realm is a management/admin realm only!