Deny-uncovered-http-methods and sso integration

Hi team,
We are having problems with the web.xml configuration
deny-uncovered-http-methods tag and sso integration. that combination is denying the request if we set that tag in the web.xml with 403 status code)

without keycloack integration the auth works fine. We are following this

I did look through keycloack documentation and I could not find anything related to that tag or any special configuration.

Any idea why that is happening and what can we do to avoid the problem ?