Url masking and brand consistency

Hi all,

I would like to preserve a forwarded domain name to an AppSheet which requires authentication, so shows an error if put in an iframe.

Is there a best practice way of preserving the forwarded domain for a web app? This question was asked but seemed to confirm those limits: