Hi, I am trying to implement Keycloak in my JMIX application.
So when I call the url of the JMIX application I want to load the Keycloak login page. And if the credentials are ok the site will redirect me to the JMIX home page. I don’t need the JMIX login page and in that case I think I should disable the JMIX security.
If you have implemented Keycloak + JMIX, can you share resources or help with me?
Big thanks for the sample, it helps a lot!
But I still have one issue…
I’m trying to implement two different JMIX applications both integrated with Keycloak. I have configured a separate client in Keycloak for every JMIX app. Everything works like a charm when any of my JMIX applications runs alone.
But when I have both of them running - any attempt to logout from any JMIX app ends with an error like ‘Lost connection with the server, trying to reconnect…’ and it never reconnecting
Browser console said that there is some CORS error on xhr request to Keycloak…
@albudarov I’ve tried to use Nginx for manual assignment of CORS http headers but result is the same
And in the browser I can see the following:
When I have two Jmix apps running, after logging out from one of them and trying to log out from another, looks like the second app trying to call keycloak twice
May be that is the problem?