CORS Exception Handling Issue in Jmix 1.3

Dear Team,

I’m currently facing CORS exceptions in my Jmix version 1.3 project and need assistance in resolving the issue. Despite reviewing documentation and community forums, the problem persists.

Details:

Jmix Version: 1.3
Keycloak Version : 21.1.2
Development Environment: Localhost
Error Message: Access to XMLHttpRequest at ‘http://localhost:8080/backend/**’ from origin ‘null’(also tried with ‘http://127.0.0.1:5501’) has been blocked by CORS policy: Response to preflight request doesn’t pass access control check: Redirect is not allowed for a preflight request.

Seeking guidance and support on effective CORS exception handling in Jmix 1.3. or Is any solution available to handle CORS error with KeyClock configuration in Jmix version 1.3??

I would appreciate any insights, code examples, or configurations to achieve this behavior.

Thank you in advance for your help!

Hi,

CORS issues with OIDC add-on have been fixed in Jmix 1.5.5