Unable to Download SP Metadata in Deployed Environment (Works Locally) – Mendix 10.18.3 + SAML 4.0.4

0
Hello everyone,I’m working with Mendix 10.18.3 and the SAML module version 4.0.4. The SAML configuration is completed successfully, and everything works perfectly in my local environment.However, after deploying the application to the environment, I am facing an issue:❗ I get an Administrator Error when trying to download the SP Metadata file in the environment.The same SP metadata download works fine locally, but fails only in the deployed environment.✔️ Already TriedI have already tested the following but the issue still persists:Upgraded and downgraded SAML moduleUpgraded and downgraded User CommonsUpgraded and downgraded Community CommonsReconfigured the SAML settings multiple timesDespite these efforts, SP Metadata download still throws an error only in the environment.❓ Has anyone faced this issue before?Is there a known reason why the SAML metadata download works locally but fails in a deployed environment? Any guidance or suggestions would be really helpful.Thank you!
asked
1 answers
0

In the environment where you are getting the error, set the relevant SAML log nodes to TRACE level and trigger the SP metadata download again. This will produce the full stacktrace in the runtime logs, which usually reveals the exact root cause (for example, missing configuration, keystore/certificate access, base URL generation, proxy headers, or permission issues).


So the recommendation is: enable TRACE logging → reproduce the issue → check the first “Caused by something” section in the logs to identify the root cause.

answered