After migrating the Automic Web Interface (AWI) from a Tomcat container to a Jetty container, users encounter an HTTP 405 (Method Not Allowed) error during SAML authentication.
Error message:
HTTP ERROR 405 HTTP method POST is not supported by this URL
The issue is caused by a case-sensitivity mismatch between the Service Provider (SP) URL defined in the Automic system and how the Jetty web server handles the URL path.
In this specific scenario:
The UC_SAML_SETTINGS were configured with the AWI identifier in uppercase (e.g., https://[hostname]/AWI/).
Modern browsers or the Jetty environment may normalize or redirect these requests to lowercase.
Because the SAML assertion was expected at a case-specific endpoint that did not match the request, the server rejected the method, resulting in the HTTP 405 error.
To resolve this, ensure that the case used in your SAML settings matches the actual URL path used by the application container.
Log into the relevant Client (usually Client 0).
Open the UC_SAML_SETTINGS VARA object.
Locate the SP_ENTITY_ID or the endpoint URL entries.
Update the AWI reference from uppercase to lowercase (e.g., change AWI to awi).
Save the object and restart the AWI or refresh the configuration.