Skip to content

Commit ae9183c

Browse files
committed
test exception
1 parent ef5ae2c commit ae9183c

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Diff for: ms_identity_web/__init__.py

+1
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,7 @@ def process_auth_redirect(self, redirect_uri: str = None, response_type: str = N
142142
self._logger.info("process_auth_redirect: exiting auth code method. redirecting... ")
143143

144144
#TODO: GET /auth/redirect?error=interaction_required&error_description=AADB2C90077%3a+User+does+not+have+an+existing+session+and+request+prompt+parameter+has+a+value+of+%27None%27.
145+
raise Exception
145146
return self._adapter.redirect_to_absolute_url(afterwards_go_to_url)
146147

147148
@require_context_adapter

Diff for: ms_identity_web/context.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ class IdentityContextData(object):
99
def __init__(self) -> None:
1010
self.clear()
1111
self.has_changed = False
12-
12+
1313
def clear(self) -> None:
1414
self._authenticated = False
1515
self._username = "anonymous"

0 commit comments

Comments
 (0)