Skip to content

Commit 03c6b1c

Browse files
committed
Revert "fix: DecideBackendByTargetIdP clean up"
This reverts commit a0a5c11.
1 parent a0a5c11 commit 03c6b1c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/satosa/micro_services/custom_routing.py

+1
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ def process(self, context:Context, data:dict):
8888

8989
def _rewrite_context(self, entity_id:str, context:Context) -> None:
9090
tr_backend = self._get_backend(context, entity_id)
91+
context.decorate(Context.KEY_TARGET_ENTITYID, entity_id)
9192
context.target_frontend = context.target_frontend or context.state.get('ROUTER')
9293
native_backend = context.target_backend
9394
msg = (f'Found DecideBackendByTarget ({self.name} microservice) '

0 commit comments

Comments
 (0)