In case you also facing the same issue, may try 2 approaches as below:
1. If you are using Ingress in Kubernetes, you may need to add proxy-address-forwarding as below in standalone.xml, standalone-ha.xml, or domain.xml depending on your operating mode.
2. Set ‘*” for Valid Redirect URL (this is temporary hack, still figuring out why)