mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-05-15 17:17:02 +02:00
Fix deprecation warnings
This commit is contained in:
parent
e8b7bfb9c4
commit
d3a285b5d8
9 changed files with 97 additions and 88 deletions
|
@ -8,7 +8,7 @@ from django.conf import settings
|
|||
from django.http import HttpResponseRedirect
|
||||
from Cryptodome.PublicKey.RSA import importKey
|
||||
from jwkest.jwk import RSAKey # type: ignore
|
||||
from oic import oic, rndstr
|
||||
from oic import oic, rndstr, utils
|
||||
from oic.oauth2 import ErrorResponse
|
||||
from oic.oic import AuthorizationRequest, AuthorizationResponse, RegistrationResponse
|
||||
from oic.oic.message import AccessTokenResponse
|
||||
|
@ -56,7 +56,7 @@ class Client(oic.Client):
|
|||
client_id=None,
|
||||
client_authn_method=CLIENT_AUTHN_METHOD,
|
||||
keyjar=keyjar,
|
||||
verify_ssl=verify_ssl,
|
||||
settings=utils.settings.OicClientSettings(verify_ssl=verify_ssl),
|
||||
config=None,
|
||||
)
|
||||
# must be set after client is initialized
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue