# SAMLSSO_ADFS

### ADFS Config Examples

Microsoft's ADFS is a common SAML provider. Here are some screenshots showing the basic config items in ADFS to make it work with CrushFTP.

1.) The plugin config uses URLs in this syntax:\
![Plugin config](SAMLSSO_ADFS/plugin_config.png)

2.) The SAML Provider URL was pulled from the meta XML file. The IDP redirect URL is slightly different as is the SAML issuer URL.\
![Meta xml url](SAMLSSO_ADFS/meta_xml_url.png)

3.) You need a new Relying Party Trusts configuration...we named ours "CrushFTP". Add the URL pointing to the CrushFTP server.\
![Adfs identifiers](SAMLSSO_ADFS/adfs_identifiers.png)

4.) Make sure the Endpoints tab is configured too pointing to the CrushFTP server.\
![Adfs endpoints](SAMLSSO_ADFS/adfs_endpoints.png)

5.) Use the add claim wizard to add a claim configuration on CrushFTP.\
![Add claim rule](SAMLSSO_ADFS/add_claim_rule.png)\
![Claim rules](SAMLSSO_ADFS/claim_rules.png)

6.) Test things out with Crush going to your server URL using the redirect notation:

```
https://yourdomain.com/?u=SSO_SAML&p=redirect
```

This part is what triggers the SAML: "?u=SSO_SAML&p=redirect"
