Jmix + Keycloak: CORS problem

Hello!
I’m trying to implement Keycloak IDP integration in my JMIX app and facing some CORS problem.
When the app attempts to redirect to the Keycloak login page for authentication there is an error like ‘CORS Missing Allow Origin’.
Any suggestions how to properly configure CORS in JMIX app to be able to call external IDP like Keycloak?

Hi,
in 1.1.0 we’ve fixed an error related to access for Jmix token and REST endpoints from another domain (the issue). If your problem is related to that, you may try the 1.1.0 version.
If the problem is that you can’t access keycloak services, then you probably need to configure CORS on the keycloak side.

1 Like