For detailed instructions refer to Citrix Documentation - Configure SAML followed by LDAP or certificate authentication based on SAML attribute extraction in nFactor authentication