This package allows for Single-Sign On HTTP Negotiate authentication using the requests library on Windows.
An implementation of HTTP Negotiate authentication for Requests. This module provides single-sign-on using Kerberos or NTLM using the Windows SSPI interface.
This module supports Extended Protection for Authentication (aka Channel Binding Hash), which makes it usable for services that require it, including Active Directory Federation Services.
import requests from requests_negotiate_sspi import HttpNegotiateAuth r = requests.get('https://iis.contoso.com', auth=HttpNegotiateAuth())
If username and password are not specified, the user’s default credentials are used. This allows for single-sign-on to domain resources if the user is currently logged on with a domain account.