From 4952be9217156b26acdaeb4f31cf7aa738db1fb4 Mon Sep 17 00:00:00 2001 From: peppelinux Date: Tue, 19 Sep 2023 12:48:27 +0200 Subject: [PATCH] chore: added comments on the rationale behind different flows --- pyeudiw/satosa/backend.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pyeudiw/satosa/backend.py b/pyeudiw/satosa/backend.py index 58e53558..cc1ae1c2 100644 --- a/pyeudiw/satosa/backend.py +++ b/pyeudiw/satosa/backend.py @@ -702,10 +702,12 @@ def get_response_endpoint(self, context): try: if state: + # cross device finalized_session = self.db_engine.get_by_state_and_session_id( state=state, session_id=session_id ) else: + # same device finalized_session = self.db_engine.get_by_session_id( session_id=session_id )