# ADFS 3.0/2012 Using ADAL

| Field           | Description                                                                            |
| --------------- | -------------------------------------------------------------------------------------- |
| authority       | **string** Configured resource ID for this application.                                |
| resourceId      | **string** Configured resource ID for this application.                                |
| clientId        | **string** Configured client ID for this application.                                  |
| redirectUri     | **string** Configured callback URL for this application                                |
| defaultDomain   | **string** Pre-populates the username field with the domain prefix (optional).         |
| claim\_userId   | **string** Passthrough field containing the userID (e.g. `"unique_name"`).             |
| claim\_username | **string** LDAP passthrough field containing the user's display name.                  |
| claim\_groups   | **string** LDAP passthrough field containing the groups (e.g. equivalent to MemberOf). |
| baseUrl         | **string** The base URL for the ADFS environment.                                      |

**Example:**

```
...
"auth_adal" : {
    "baseUrl" : "https://adfs2012.bluefletch.com",
    "authority" : "https://adfs2012.bluefletch.com/adfs/oauth2",
    "clientId" : "com.bluefletch.ems.auth",
    "resourceId" : "com.bluefletch.ems.auth",
    "redirectUri" : "com.bluefletch.launcher:/callback",
    "defaultDomain" : "BLUEFLETCH\\",
    "claim_userId" : "upn",
    "claim_username" : "commonname",
    "claim_groups" : "MemberOf"
}
...
```
