Http OPTIONS method for token introspection endpoint is not working when upgraded to kc version 23

When using the http request for token introspection endpoint with OPTIONS method, it returns “405 method not allowed” in keycloak version 23 and 24.

This error happened only after the upgrade.

while checking with older versions till 22.0.5, http request for token introspection endpoint with OPTIONS method returns “200”

There was no mention about it in the release notes.
Is there anything I missed out?
Is there any suggestions to make it work?

If you feel that this is a bug/regression, please open an issue here. Thanks.

I have reported it as issue here. Thanks