Storefront error :
Event ID 6
CitrixAGBasic single sign-on failed because the supplied domain: domain.com is invalid. This has two main causes, either;
The single sign-on domain specified in the Citrix Gateway console is invalid.
If the domains are being restricted in the StoreFront console, then the domain: domain.com is not present in the list of Trusted Domains.