Skip to content

Commit 74aadac

Browse files
keep the string list simple and only add a comma.
1 parent 89ceaef commit 74aadac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/delegate.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ def handler(event, context: LambdaContext) -> dict:
122122
'exp': exp,
123123
'domains': list(domains),
124124
'azp': refresh_token['azp'], # Authorized Party
125-
'sub': ', '.join(existing_sub + [subject]), # sub must be string adhering to jwt spec: https://datatracker.ietf.org/doc/html/rfc7519#section-4.1.2
125+
'sub': ','.join(existing_sub + [subject]), # sub must be string adhering to jwt spec: https://datatracker.ietf.org/doc/html/rfc7519#section-4.1.2
126126
}
127127
logger.info({"message": "Issuing JWT", "jwt": delegate_token})
128128
raw_delegate_token = jwt.encode(

0 commit comments

Comments
 (0)