Using Custom SAML for Single Sign On (SSO)

By Prateesh kp 19608 views

HappyFox provides Secure Assertion Markup Language (SAML), which allows you to provide single sign-on (SSO) for your HappyFox account using identity providers such as Azure Active Directory, Onelogin, Okta, Smartsignin or a SAML compatible app that you host on your own. Single sign-on using SAML is available on Mighty plan and above. 

HappyFox allows you to use SAML to authenticate and log in to both agent and contacts. 

Steps to Configure a Custom SAML SSO:

 

Note: Only one SAML based Single Sign On integration can be active at a time, in a HappyFox helpdesk account.

Things to remember:

 

 

Enable Encrypted SAML assertions:

You can also encrypt your SAML assertions for added security. To know more about this feature, click here.

 

The SAML server might require the following information: 

  1. The Access Consumer Service (ACS) URL is https://<accountname>.happyfox.com/saml/callback/. If you only need to authenticate agent members, you can use https://<accountname>.happyfox.com/staff/saml/callback/. 

 

Note:

#1 - If you are using more than one SAML integration in HappyFox, then the ACS callback url for custom SAML should be https://<account-name>.happyfox.com/saml/custom-saml/callback/ or https://<account-name>.happyfox.com/staff/saml/custom-saml/callback/

#2 - If you are using custom domain on your HappyFox help-desk, ensure to include the ACS url in both custom domain format and in default HappyFox url format

 

 

  2. Destination attribute of SAML Response should be https://<accountname>.happyfox.com/saml/callback/. If you only need to authenticate agent members, you can use https://<accountname>.happyfox.com/staff/saml/callback/.

a. The recipient attribute of Subject Confirmation Data should be https://<accountname>.happyfox.com/saml/callback/. If you only need to authenticate agent members, you can use https://<accountname>.happyfox.com/staff/saml/callback/.

b. SPNameQualifier (optional) attribute of NameID should be https://<accountname>.happyfox.com/saml/client-metadata/. If you only need to authenticate agent members, you can use https://<accountname>.happyfox.com/saml/metadata/

c. The NameID format should be urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress. This email address is used to match and/or create the agent or contact as necessary in HappyFox. With this attribute, the name and email ID of the user will be pulled in from the SAML identity provider into HappyFox.