Skip to content

Commit 0e0bbec

Browse files
authored
Merge pull request #964 from NHSDigital/12168-prompt-login-cis2
Add prompt=login to CIS2 authentication requests
2 parents 7df895a + 81583db commit 0e0bbec

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

manage_breast_screening/auth/oauth.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ def get_cis2_client():
4040
server_metadata_url=settings.CIS2_SERVER_METADATA_URL,
4141
client_kwargs={
4242
"scope": settings.CIS2_SCOPES,
43+
"prompt": "login",
4344
"token_endpoint_auth_method": "private_key_jwt",
4445
# Add a CIS2_DEBUG-only hook to log OIDC requests and responses
4546
"hooks": {"response": [_log_response]},

0 commit comments

Comments
 (0)