Skip to content

Commit

Permalink
Switch from requests-kerberos to requests-gssapi
Browse files Browse the repository at this point in the history
  • Loading branch information
pdecat committed Feb 9, 2022
1 parent 3717053 commit 13484ef
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 83 deletions.
2 changes: 1 addition & 1 deletion aws_adfs/html_roles_fetcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
from requests_negotiate_sspi import HttpNegotiateAuth
_auth_provider = HttpNegotiateAuth
else:
from requests_kerberos import HTTPKerberosAuth, OPTIONAL
from requests_gssapi import HTTPKerberosAuth, OPTIONAL
_auth_provider = HTTPKerberosAuth
except ImportError:
pass
Expand Down
95 changes: 15 additions & 80 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 5 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,13 @@ botocore = ">=1.12.6"
click = "*"
configparser = "*"
fido2 = ">=0.9.3"
gssapi = [
{ version = ">=1.7.0", markers = "platform_system != 'Windows'" },
]
lxml = "*"
requests = "*"
requests-kerberos = [
{ version = "*", markers = "platform_system != 'Windows'" },
requests-gssapi = [
{ version = "^1.2.3", markers = "platform_system != 'Windows'" },
]
requests-negotiate-sspi= [
{ version = ">=0.3.4", markers = "platform_system == 'Windows'" },
Expand Down

0 comments on commit 13484ef

Please sign in to comment.