mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-05-15 17:17:02 +02:00
More oidc tests test_login_callback_requires_step_up_auth and test_login_callback_no_step_up_auth, lint
This commit is contained in:
parent
1a2b16a3da
commit
1001454a85
5 changed files with 82 additions and 57 deletions
|
@ -147,7 +147,7 @@ class Client(oic.Client):
|
|||
raise o_e.InternalError(locator=state)
|
||||
|
||||
return response
|
||||
|
||||
|
||||
def callback(self, unparsed_response, session):
|
||||
"""Step 3: Receive OP's response, request an access token, and user info."""
|
||||
logger.debug("Processing the OpenID Connect callback response...")
|
||||
|
@ -276,7 +276,7 @@ class Client(oic.Client):
|
|||
"""returns the step_up_acr_value from settings
|
||||
this helper function is called from djangooidc views"""
|
||||
return self.behaviour.get("step_up_acr_value")
|
||||
|
||||
|
||||
def __repr__(self):
|
||||
return "Client {} {} {}".format(
|
||||
self.client_id,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue