In the Ansible Automation Platform 2.4 we have Login redirect override URL in Settings > Miscellaneous Authentication
But in the AAP 2.5 we do not find this on the UI.
But in the API endpoint we have an option to add this in the
LOGIN_REDIRECT_OVERRIDE
https://GATEWAY_URL/api/gateway/v1/settings/all/
As a WorkAround we can go to the API endpoint and perform a PUT to this variable to add "Login redirect override"