Active Directory Federation Service (AD FS) SSO/SAML Configuration
Answer
This article explains how to configure Microsoft's Active Directory Federation Services Single-Sign-On (SSO) with the Foxit Admin Console so that users activate our solutions (Foxit PDF Editor, Foxit Sign... etc.) using your organizations SSO.
These instructions may vary depending on your environment. If you have specific settings, you may need to check those with your IdP admins as Foxit only supports SSO as it is written in this article.
Prerequisites:
A. You must have a verified domain in Foxit Admin Console > User ID Management > Directory Setting.
B. A Microsoft Windows Server installed with Microsoft AD FS and the latest operating system updates.
C. The server must be accessible from users' workstations (for example, via HTTPS).
D. Security certificate obtained from the AD FS server.
E. All Active Directory accounts, to be associated with a Foxit Cloud account, must have an email address assigned.
1. Add Relying Party Trust
Open AD FS Management, add and configure "Relying Party Trust"
1.1 Click Add Relying Party Trust to open the wizard1.3 Click Selete Data Source : select Enter data about the relying party manually , click Next
select " Enable support for the SAML 2.0 WebSSO protocol " and enter the SP Assertion Consumer Service URL provided on the Admin Console page, as shown in the figure below
Note: Please pay attention to the order of "Order", please add in order
email Rule
- On the Choose Rule Type page, select " Send LDAP Attributes as Claims "
- On the Configure Claim Rule page, configure according to the following figure
name id Rule
- On the Choose Rule Type page, select " Transform an incoming Claim "
- On the Configure Claim Rule page, configure according to the following figure
email-custom Rule
- On the Choose Rule Type page, select " Send Claims Using a Custom Rule "
- On the Configure Claim Rule page, configure according to the following figure
c:[Type =="http://schemas.microsoft.com/ws/2008/06/identity/claims/windowsaccountname",Issuer == "AD AUTHORITY"]=> issue(store = "Active Directory", types = ("email"), query = ";mail;{0}", param = c.Value);
Note: Please check your input and ensure there are no spaces. Spaces can sometimes affect the outcome.
Now you can see that you have added 3 rules.
Note: Typically, configuring the email, name id, and email-custom fields is sufficient, but sometimes it may also be necessary to add a name-custom field.
name-custom Rule
- On the Choose Rule Type page, select " Send Claims Using a Custom Rule "
- On the Configure Claim Rule page, configure according to the following figure
c[Type =="http://schemas.microsoft.com/ws/2008/06/identity/claims/windowsaccountname",Issuer == "AD AUTHORITY"]
=>issue (store = "Active Directory", types = ("firstname","lastname"),query = ";givenname,sn; {0}", param = c.Value) ;
Download the FederationMetadata.xml file from the link: https://your-adfs-server-url/FederationMetadata/2007-06/FederationMetadata.xml. Note that the link is to download from your AD FS server, not this KB. Go to AD FS Management > Service > Endpoints and make sure the name is the same as /FederationMetadata/2007-06/FederationMetadata.xml.
Copy the Identity provider's Entity ID from entityID.
Copy the ldentity provider SSO URL from Location.
Copy the Public x509 certificate from protocolSupportEnumeration's signing.