Skip to content

Authentication

Configure sites that support integrated authentication. See Integrated authentication for more information.

  • SPNEGO: A list of sites permitted to use SPNEGO (Kerberos) authentication.
  • Delegated: A list of sites permitted to use Kerberos delegation.
  • NTLM: A list of sites permitted to use NTLM authentication.
  • AllowNonFQDN: Allows authentication for hosts that are not fully qualified domain names. Accepts SPNEGO and NTLM, each a boolean.
  • AllowProxies: Allows authentication to proxies. Accepts SPNEGO and NTLM, each a boolean.
  • PrivateBrowsing: Set to true to allow integrated authentication in private browsing.
  • Locked: Prevents the user from changing these settings. Unlike most policies, this defaults to true. Set it to false to apply the values as defaults that users can still change.
policies.json
{
"policies": {
"Authentication": {
"SPNEGO": [
"mydomain.com",
"https://myotherdomain.com"
],
"Delegated": [
"mydomain.com",
"https://myotherdomain.com"
],
"NTLM": [
"mydomain.com",
"https://myotherdomain.com"
],
"AllowNonFQDN": {
"SPNEGO": true,
"NTLM": true
},
"AllowProxies": {
"SPNEGO": true,
"NTLM": true
},
"Locked": true,
"PrivateBrowsing": true,
"DisabledSchemes": [
"basic"
]
}
}
}
JSON schema
Authentication JSON schema
{
"type": "object",
"properties": {
"SPNEGO": {
"type": "array",
"items": {
"type": "string"
}
},
"Delegated": {
"type": "array",
"items": {
"type": "string"
}
},
"NTLM": {
"type": "array",
"items": {
"type": "string"
}
},
"AllowNonFQDN": {
"type": "object",
"properties": {
"SPNEGO": {
"type": "boolean"
},
"NTLM": {
"type": "boolean"
}
}
},
"AllowProxies": {
"type": "object",
"properties": {
"SPNEGO": {
"type": "boolean"
},
"NTLM": {
"type": "boolean"
}
}
},
"Locked": {
"type": "boolean"
},
"PrivateBrowsing": {
"type": "boolean"
},
"DisabledSchemes": {
"type": "array",
"items": {
"type": "string",
"enum": [
"basic",
"digest",
"ntlm",
"negotiate"
]
}
}
}
}

Enabling Kerberos single sign-on for an internal domain

Section titled “Enabling Kerberos single sign-on for an internal domain”

This example lets Firefox use Kerberos (SPNEGO) single sign-on with HTTPS sites on example.com and its subdomains, such as https://intranet.example.com. The https:// prefix restricts this entry to HTTPS connections, so it doesn't allow Kerberos authentication over plain HTTP. Because Locked defaults to true, users can't change the list:

{
"policies": {
"Authentication": {
"SPNEGO": ["https://example.com"]
}
}
}

Allowing Kerberos delegation to a reporting server

Section titled “Allowing Kerberos delegation to a reporting server”

Some web apps, such as a reporting server that queries a database as the signed-in user, need Firefox to forward the user's Kerberos credentials. This example allows SPNEGO for HTTPS sites on example.com and its subdomains, but only permits delegation to HTTPS sites on reports.example.com and its subdomains. Delegation also requires SPNEGO authentication to be allowed for the site. Here, the SPNEGO entry covers reports.example.com:

{
"policies": {
"Authentication": {
"SPNEGO": ["https://example.com"],
"Delegated": ["https://reports.example.com"]
}
}
}

Firefox matches each entry in SPNEGO, Delegated and NTLM against the end of the site's host name, on a dot boundary. For example, example.com matches example.com and intranet.example.com, but not myexample.com. An entry can also include a scheme, a port, or both:

  • https://example.com matches only HTTPS connections to example.com and its subdomains.
  • example.com:8443 matches only connections to example.com and its subdomains on port 8443.
  • https:// on its own matches every HTTPS site.

AllowProxies controls authentication to proxies separately. Firefox doesn't check proxies against these lists, and allows both SPNEGO and NTLM for proxies by default.

Software\Policies\Mozilla\Firefox\Authentication\SPNEGO\1 = "mydomain.com"
Software\Policies\Mozilla\Firefox\Authentication\SPNEGO\2 = "https://myotherdomain.com"
Software\Policies\Mozilla\Firefox\Authentication\Delegated\1 = "mydomain.com"
Software\Policies\Mozilla\Firefox\Authentication\Delegated\2 = "https://myotherdomain.com"
Software\Policies\Mozilla\Firefox\Authentication\NTLM\1 = "mydomain.com"
Software\Policies\Mozilla\Firefox\Authentication\NTLM\2 = "https://myotherdomain.com"
Software\Policies\Mozilla\Firefox\Authentication\AllowNonFQDN\SPNEGO = 0x1 | 0x0
Software\Policies\Mozilla\Firefox\Authentication\AllowNonFQDN\NTLM = 0x1 | 0x0
Software\Policies\Mozilla\Firefox\Authentication\AllowProxies\SPNEGO = 0x1 | 0x0
Software\Policies\Mozilla\Firefox\Authentication\AllowProxies\NTLM = 0x1 | 0x0
Software\Policies\Mozilla\Firefox\Authentication\Locked = 0x1 | 0x0
Software\Policies\Mozilla\Firefox\Authentication\PrivateBrowsing = 0x1 | 0x0
<dict>
<key>Authentication</key>
<dict>
<key>SPNEGO</key>
<array>
<string>mydomain.com</string>
<string>https://myotherdomain.com</string>
</array>
<key>Delegated</key>
<array>
<string>mydomain.com</string>
<string>https://myotherdomain.com</string>
</array>
<key>NTLM</key>
<array>
<string>mydomain.com</string>
<string>https://myotherdomain.com</string>
</array>
<key>AllowNonFQDN</key>
<dict>
<key>SPNEGO</key>
<true/> | <false/>
<key>NTLM</key>
<true/> | <false/>
</dict>
<key>AllowProxies</key>
<dict>
<key>SPNEGO</key>
<true/> | <false/>
<key>NTLM</key>
<true/> | <false/>
</dict>
<key>Locked</key>
<true/> | <false/>
<key>PrivateBrowsing</key>
<true/> | <false/>
</dict>
</dict>
FirefoxFirefox ESRFirefox Enterprise
AuthenticationAvailable since 60Available since 60Available since 149
AllowNonFQDNAvailable since 62Available since 60.2Available since 149
AllowProxiesAvailable since 70Available since 68.2Available since 149
LockedAvailable since 71Available since 68.3Available since 149
PrivateBrowsingAvailable since 77Available since 68.9Available since 149
DisabledSchemesAvailable since 162Not supportedAvailable since 162

CCK2 Equivalent: N/A
OMA-URI: Authentication
Preferences Affected: network.negotiate-auth.trusted-uris,network.negotiate-auth.delegation-uris,network.automatic-ntlm-auth.trusted-uris,network.automatic-ntlm-auth.allow-non-fqdn,network.negotiate-auth.allow-non-fqdn,network.automatic-ntlm-auth.allow-proxies,network.negotiate-auth.allow-proxies,network.auth.private-browsing-sso