Haproxy basic authentation between domains

Hello friends how are you?

I have an IIS backend running at 80 port with basic authentication with an example.domain name.

I just configure HAProxy for a valid SSL cert for this site with a different domain, but I’m unable to do the basic auth.

Do I need to change some parameters at HAProxy to enable some type of cross-domain basic auth?