There would be two fields called USERDOMAIN and USERDNSDOMAIN
And these will be like this:
Open Netscaler Gateway Virtual server session profile.
Go to Published applications tab and look for SSODomain field
As per the error it would be domain.com
We need to change it to domain, and save the configuration on Netscaler.
Also confirm that Storefront has either “Any” domain selected or has “domain.com” and “domain” added as trusted domain.