Skip to content
This repository was archived by the owner on Jun 23, 2023. It is now read-only.

Commit 87d5c67

Browse files
kushaldasrohe
authored andcommitted
Fixes the sub value to real value
As a typo it was getting assigned to client_id. Now, it is assigned to the real calculated value.
1 parent 8b67a5c commit 87d5c67

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/oidcop/session/grant.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ def payload_arguments(
227227
if self.authorization_request:
228228
client_id = self.authorization_request.get("client_id")
229229
if client_id:
230-
payload.update({"client_id": client_id, "sub": client_id})
230+
payload.update({"client_id": client_id, "sub": self.sub})
231231

232232
_claims_restriction = endpoint_context.claims_interface.get_claims(
233233
session_id,

0 commit comments

Comments
 (0)