Skip to content

Commit 4a94123

Browse files
author
Ioannis Kakavas
committed
If requester logo is available, send it to CMservice to be shown in UI
1 parent 75272b4 commit 4a94123

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/satosa/micro_services/consent.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,8 @@ def _approve_new_consent(self, context, internal_response, id_hash):
8989
}
9090
if self.locked_attr:
9191
consent_args["locked_attrs"] = [self.locked_attr]
92-
92+
if 'requester_logo' in context.state[STATE_KEY]:
93+
consent_args["requester_logo"] = context.state[STATE_KEY]['requester_logo']
9394
try:
9495
ticket = self._consent_registration(consent_args)
9596
except (ConnectionError, UnexpectedResponseError) as e:

0 commit comments

Comments
 (0)