Skip to main content

This package allows for Single-Sign On HTTP Negotiate authentication using the requests library on Windows.

Project description

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.

The module does not (at this time) support password-based authentication.

Usage

import requests
from requests_negotiate_sspi import HTTPNegotiateAuth

r = requests.get('https://iis.contoso.com', auth=HTTPNegotiateAuth())

Project details


Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page