Authentication
Configure sites that support integrated authentication. See Integrated authentication for more information.
Values
Section titled “Values”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. AcceptsSPNEGOandNTLM, each a boolean.AllowProxies: Allows authentication to proxies. AcceptsSPNEGOandNTLM, each a boolean.PrivateBrowsing: Set totrueto allow integrated authentication in private browsing.Locked: Prevents the user from changing these settings. Unlike most policies, this defaults totrue. Set it tofalseto apply the values as defaults that users can still change.
Examples
Section titled “Examples”{ "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
{ "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"] } }}Description
Section titled “Description”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.commatches only HTTPS connections toexample.comand its subdomains.example.com:8443matches only connections toexample.comand 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.
Windows (GPO)
Section titled “Windows (GPO)”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 | 0x0Software\Policies\Mozilla\Firefox\Authentication\AllowNonFQDN\NTLM = 0x1 | 0x0Software\Policies\Mozilla\Firefox\Authentication\AllowProxies\SPNEGO = 0x1 | 0x0Software\Policies\Mozilla\Firefox\Authentication\AllowProxies\NTLM = 0x1 | 0x0Software\Policies\Mozilla\Firefox\Authentication\Locked = 0x1 | 0x0Software\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>Compatibility
Section titled “Compatibility”| Firefox | Firefox ESR | Firefox Enterprise | |
|---|---|---|---|
Authentication | Available since 60 | Available since 60 | Available since 149 |
AllowNonFQDN | Available since 62 | Available since 60.2 | Available since 149 |
AllowProxies | Available since 70 | Available since 68.2 | Available since 149 |
Locked | Available since 71 | Available since 68.3 | Available since 149 |
PrivateBrowsing | Available since 77 | Available since 68.9 | Available since 149 |
DisabledSchemes | Available since 162 | Not supported | Available 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
See also
Section titled “See also”- Integrated authentication
- NTLM user authentication on learn.microsoft.com
- SPNEGO on wikipedia.org