Getting Error with Keycloak in docker container

Hi,

I’m quiet new to keycloak and I followed the instructions from here to install keycloak in a docker container.

After that I configured keycloak as described here

Then I downloaded the example from here

Now my problem is that I can’t login with the sample app because I always get the following error:

Cannot POST /realms/<myRealm>/login-actions/authenticate

The developer tools f the browser shows the following:

http://localhost:3000/realms/<myReal>/login-actions/authenticate?session_code=m7-E65YPSeUTHIZdqvALBKvUxsOBhT8VJsHu5dBYsPI&execution=8471c9c1-5dc2-44f5-8a14-84bf70f53c51&client_id=<myClienId>&tab_id=zvnbeQzKBlI

May be the following has to do wiht this error:
When I’m redirected from my app to the Keycloak Login-Mask I get an unstyled/pure Login-Mask (without CSS). The developer tools shows the following:

After investigating more than 2 days I have no ideas where the problem is.
I hope you can help me.

Thanks,
Patrick

:partying_face:

I got it working.
I had set the “Frontend URL” of the realm :man_facepalming:

When I remove this, everything works as expected.