---
updatedAt: 2025-06-03T00:21:45.000Z
agentTools:
  projectIndex: https://docs.synchronet.com/v4.0-2/llms.txt
---

# ADFS Integration

This guide will help you configure Active Directory Federation Services (ADFS) for integration with CLICK.

> 📘 This guide was written for Windows Server 2016. Steps and appearance may vary slightly in other versions of Windows Server.

## Open the ADFS Management Console

You can perform these steps directly on your ADFS server, or any server in your domain that has the ADFS Management Tools installed.

Open Server Manager and navigate to Tools > AD FS Management in the upper left-hand side of the window to open the management console.

![363](https://files.readme.io/3304487-2019-09-17_10_21_07-Todoist__To-Do_List_and_Task_Manager.png "2019-09-17 10_21_07-Todoist_ To-Do List and Task Manager.png")

## Create a Relying Party Trust

Navigate to the Relying Party Trusts section of the AD FS Management console in the tree on the left-hand side of the window.

![282](https://files.readme.io/8c797bc-2019-09-17_10_29_34-Amazon_WorkSpaces.png "2019-09-17 10_29_34-Amazon WorkSpaces.png")

In the Actions pane on the right-hand side, click Add Relying Party Trust...

![323](https://files.readme.io/b5dd666-2019-09-17_10_26_33-Amazon_WorkSpaces.png "2019-09-17 10_26_33-Amazon WorkSpaces.png")

The Add Relying Party Trust Wizard will appear. Select Claims aware and click Start.

![716](https://files.readme.io/ef59446-2019-09-17_12_00_39-Amazon_WorkSpaces.png "2019-09-17 12_00_39-Amazon WorkSpaces.png")

On the next screen, select Enter data about the relying party manually, and click Next.

![716](https://files.readme.io/e0734f4-2019-09-17_12_19_35-Amazon_WorkSpaces.png "2019-09-17 12_19_35-Amazon WorkSpaces.png")

Enter a Display name value that will be meaningful to you, and add notes if you would like. Then, click Next.

![716](https://files.readme.io/8fe7983-2019-09-17_12_20_55-Amazon_WorkSpaces.png "2019-09-17 12_20_55-Amazon WorkSpaces.png")

On the Configure Certificate screen that appears next, do not select a Certificate. Simply click Next.

![716](https://files.readme.io/600f8f1-2019-09-17_12_24_58-Amazon_WorkSpaces.png "2019-09-17 12_24_58-Amazon WorkSpaces.png")

The Configure URL screen will appear. Leave both options unchecked and click Next.

![716](https://files.readme.io/92000f6-2019-09-17_12_26_03-Amazon_WorkSpaces.png "2019-09-17 12_26_03-Amazon WorkSpaces.png")

Next, the Configure Identifiers screen will be displayed. Enter the following value in the Relying party trust identifier field and click Add.

```
urn:amazon:cognito:sp:us-east-1_cVKer1FyM
```

![716](https://files.readme.io/8e2bb6b-2019-09-17_12_28_36-Amazon_WorkSpaces.png "2019-09-17 12_28_36-Amazon WorkSpaces.png")

On the next screen, select Permit everyone and click Next.

![716](https://files.readme.io/cc83ed2-2019-09-17_12_33_45-.png "2019-09-17 12_33_45-.png")

You do not need to change anything on the Ready to Add Trust screen. Click Next.

![716](https://files.readme.io/8626ddd-2019-09-17_12_35_17-.png "2019-09-17 12_35_17-.png")

On the final screen, ensure the Configure claims issuance policy for this application checkbox is checked, and click Close.

![716](https://files.readme.io/68f7819-2019-09-17_13_20_36-Amazon_WorkSpaces.png "2019-09-17 13_20_36-Amazon WorkSpaces.png")

## Create Claim Issuance Transform Rules

After the end of the previous steps, Edit Claims Issuance Policy screen should appear. If it does not, you can open it by right-clicking on the Relying Party Trust and selecting Edit Claim Issuance Policy....

![511](https://files.readme.io/2eb16bd-2019-09-17_13_23_44-Amazon_WorkSpaces.png "2019-09-17 13_23_44-Amazon WorkSpaces.png")

You will need to create four Issuance Transform Rules.

Click on Add Rule to create a new rule.

![486](https://files.readme.io/d857c54-2019-09-17_13_23_14-Amazon_WorkSpaces.png "2019-09-17 13_23_14-Amazon WorkSpaces.png")

On the dialog that appears, select Send LDAP Attributes as Claims for the Claim rule template, and click Next.

![716](https://files.readme.io/c7a0fad-2019-09-17_13_27_18-Amazon_WorkSpaces.png "2019-09-17 13_27_18-Amazon WorkSpaces.png")

Fill in the following values on the next screen:

* Claim rule name: `Name ID`
* Attribute store: `Active Directory`
* LDAP Attribute: `User-Principal-Name`
* Outgoing Claim Type: `Name ID`

> 🚧 Be Careful
>
> There is also an Outgoing Claim Type of `Name`, but that is not the one you need. Be sure to select `Name ID`.

Click Finish to create the rule.

![716](https://files.readme.io/eeca6f9-2019-09-17_13_31_44-Amazon_WorkSpaces.png "2019-09-17 13_31_44-Amazon WorkSpaces.png")

Following the same process as above, create a second rule using these values:

* Claim rule template: `Send LDAP Attributes as Claims`
* Claim rule name: `Group`
* Attribute store: `Active Directory`
* LDAP Attribute: `Token-Groups as SIDs`
* Outgoing Claim Type: `Group`

![716](https://files.readme.io/d7723ea-2019-09-17_13_37_13-Amazon_WorkSpaces.png "2019-09-17 13_37_13-Amazon WorkSpaces.png")

Add a third rule using these values:

* Claim rule template: `Send LDAP Attributes as Claims`
* Claim rule name: `E-Mail Address`
* Attribute store: `Active Directory`
* LDAP Attribute: `User-Principal-Name`
* Outgoing Claim Type: `E-Mail Address`

![716](https://files.readme.io/9a9c205-2019-09-17_13_40_42-Amazon_WorkSpaces.png "2019-09-17 13_40_42-Amazon WorkSpaces.png")

The last rule is slightly different than the others. For the Claim rule template, select Send Claims Using a Custom Rule and click Next.

![716](https://files.readme.io/3a448ab-2019-09-17_13_44_25-Amazon_WorkSpaces.png "2019-09-17 13_44_25-Amazon WorkSpaces.png")

For the Claim rule name, type `SPNameQualifier`. For the Custom rule, copy and paste the below rule definition.

```
c:[Type == "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress"]

=> issue(Type =
"http://schemas.xmlsoap.org/ws/2005/05/identity/claims/nameidentifier", Issuer =
c.Issuer, OriginalIssuer = c.OriginalIssuer, Value = c.Value, ValueType =
c.ValueType,
Properties["http://schemas.xmlsoap.org/ws/2005/05/identity/claimproperties/format"]
= "urn:oasis:names:tc:SAML:2.0:nameid-format:persistent");
```

Click Finish to create the rule.

![716](https://files.readme.io/c9dcc8d-2019-09-17_13_47_21-Amazon_WorkSpaces.png "2019-09-17 13_47_21-Amazon WorkSpaces.png")

When you are done, the dialog should look like the screenshot below. Click OK to close it.

![486](https://files.readme.io/fa23c85-2019-09-17_13_48_29-Amazon_WorkSpaces.png "2019-09-17 13_48_29-Amazon WorkSpaces.png")

## Create Endpoints

Bring up the Properties dialog by right-clicking your Relying Party Trust and selecting Properties.

![443](https://files.readme.io/853fec5-2019-09-17_13_52_45-Amazon_WorkSpaces.png "2019-09-17 13_52_45-Amazon WorkSpaces.png")

You will need to add two endpoints. Switch to the Endpoints tab and click Add SAML.

![397](https://files.readme.io/d478afa-2019-09-17_13_54_37-Amazon_WorkSpaces.png "2019-09-17 13_54_37-Amazon WorkSpaces.png")

On the dialog that appears, enter the following values:

* Endpoint type: `SAML Assertion Consumer`
* Binding: `POST`
* Trusted URL: `https://auth.click.synchronet.com/saml2/idpresponse`

Click OK to create the endpoint.

![382](https://files.readme.io/2f52219-2019-09-17_13_57_26-Amazon_WorkSpaces.png "2019-09-17 13_57_26-Amazon WorkSpaces.png")

Click Add SAML again to create the second rule. Enter the following values:

* Endpoint type: `SAML Logout`
* Binding: `POST`
* Trusted URL: `  https://auth.click.synchronet.com/saml2/logout`
* Response URL: `  https://auth.click.synchronet.com/saml2/logout`

Once again, click OK to create the rule.

![382](https://files.readme.io/5355344-2019-09-17_13_59_54-Amazon_WorkSpaces.png "2019-09-17 13_59_54-Amazon WorkSpaces.png")

The completed endpoints display should look like the below screenshot.

![397](https://files.readme.io/7561289-2019-09-17_14_01_09-Amazon_WorkSpaces.png "2019-09-17 14_01_09-Amazon WorkSpaces.png")

## Add Signing Certificate

You will need the certificate public key for CLICK's SAML Provider. You can download the file [here](https://files.synchronet.com/synchronet-click/deployment/click-saml.cer), but if the server you are working on does not have Internet connectivity, paste the following into Notepad and save it with a `.cer` extension.

```
-----BEGIN CERTIFICATE-----
MIICvTCCAaWgAwIBAgIJAO4bhvfU4An6MA0GCSqGSIb3DQEBCwUAMB4xHDAaBgNVBAMME3VzLWVhc3QtMV9jVktlcjFGeU0wHhcNMTkwOTExMTkxOTU4WhcNMjkwOTExMTkxOTU4WjAeMRwwGgYDVQQDDBN1cy1lYXN0LTFfY1ZLZXIxRnlNMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAjM422xFjYRHO33K8K0ovY9sdy4urGFMV0IrvCNk5C98vOn5nOHpzl87zSbn00OsKWdSERfoa9rq9vJMyWWEQnSO96B6goLrGncHh8YZfuZCvJpFiAwADcUO1JnsHJ3xHVoFjhSlrTW6KXPg+xAnQSMP1HE6Zm7oMeCdq4hIuyNFLHdRnxOPQqIx/suv+VXBhl1lwvBLHv01rm/m21gPGDOi8llC1V4UlRNJHdlpiDSqFy1WFm6rAK/knMZRH0nKpcMSxWbgFLdCaCfIx85wjFkqt7epxSVRU+F0XLYjATIxdPkc0BrJI8a5eazFErVy35NshRji8zbwRLoQz+2f9ZwIDAQABMA0GCSqGSIb3DQEBCwUAA4IBAQBqpOboK4W3TgY7mBj9A9gfzrYtweGJwzwH/d6E48aCNU6KMvDjOSaYHvX46rwOHjswU9+S4ppjG7Cprp5GHFXHrOS5oxB3oYMMJQjrJMHyTKzCJeSfDksacUBpdC+Ttex0r1f1v9KtepfBwZVlCwk39aE59vV7DU39o5cYCA830At3h9tG450KW7zYIURjWfKxYwMtbWBZSfkdxgfYZ5CI0gjTXsZ/BL8yQn7wtszXpwWQDpbbNMFvrpHTR8ihqqkHnvIc35C4XBXHKzd5YK4FH4f4TgPnq2Z/ZmwgxLdIV5UmTlTGv/7JwNVCrwYOPUqxCgG2L5je/qUouA36k+Qk
-----END CERTIFICATE-----
```

Take note of the path where you store this file.

Bring up the Properties dialog by right-clicking your Relying Party Trust and selecting Properties.

![443](https://files.readme.io/af7e02a-2019-09-17_13_52_45-Amazon_WorkSpaces.png "2019-09-17 13_52_45-Amazon WorkSpaces.png")

Switch to the Signature tab and click Add

![397](https://files.readme.io/1e0afdc-2019-09-17_14_09_56-Amazon_WorkSpaces.png "2019-09-17 14_09_56-Amazon WorkSpaces.png")

Browse to the path where you stored the certificate file and select it in the file selection dialog. Confirm that the certificate information is displayed and click OK.

![397](https://files.readme.io/e08da18-2019-09-17_14_11_58-Amazon_WorkSpaces.png "2019-09-17 14_11_58-Amazon WorkSpaces.png")

## Configuration Complete

You have successfully configured ADFS to integrate with CLICK. If you are performing a CLICK deployment, you will need to capture two pieces of information in the [Deployment Readiness Checklist](https://docs.synchronet.com/v4.0-2/docs/deployment-readiness-checklist) before you continue.

## 2.1 - Metadata Document URL

In **Item 2.1** of the checklist document, you will need to fill in the URL to your ADFS Metadata Document XML. For ADFS, the standard URL is:

```
https://__server__/federationmetadata/2007-06/federationmetadata.xml
```

For your specific environment, you must replace `__server__` with the public-facing DNS name of your ADFS or ADFS Proxy server.

## 2.2 - Identifiers

The SAML Identifiers value should simply be the suffix you use on User Principal Names in your domain. For example, given a domain with User Principal Names like `ab124@company.net` and `af312@company.net`, the value you should place in **Item 2.2** of the checklist document is `company.net`.