Block redirect from KC to any domain

This kind of URL causes open redirect from KC instance e.g. https://kc-instance/auth/realms/YOUR_REALM/protocol/openid-

It’s not an authorized redirect which I suppose should be blocked or possible to whitelist/blacklist on REALM’s client level.

If the redirect is from client app it is fine and it’s blocked to only redirect back to configured redirect_uri.