Where to look for override endpoint to login?

Hi, I m searching where can I extend endpoint
auth/realms/{realm_name}/protocol/openid-connect/auth
to support requestMethod POST? I m trying to modify keycloak v4.8.1.Final. Can anyone tell me in which class should I look for?

Don’t do it.
Why do you want that?