I deployed a service and printed the header information of the request. The X-Forwarded-Host field is an ip, which is frustrating

https://github.com/go-cas/cas/blob/v2.2.2/client.go#L113

Then the RedirectToLogin function 302 to the sso.xx.com/cas/login?service=10.x.x.x:1234/cas address, which is not the same as the callback address I set in the enterprise, resulting in authentication failure
Can we set the redirected host in some way?