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

Commit 2de8df4

Browse files
authored
Merge pull request #29 from nsklikas/master
Fix bug, `add_claims_by_scope` was not used
2 parents 46f2e61 + 0b15339 commit 2de8df4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/oidcendpoint/jwt_token.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ def __call__(
7070

7171
if "add_claims" in self.args:
7272
self.add_claims(payload, uinfo, self.args["add_claims"])
73-
if "add_claims_by_scope":
73+
if self.args.get("add_claims_by_scope", False):
7474
self.add_claims(
7575
payload, uinfo,
7676
scope2claims(sinfo["authn_req"]["scope"],

0 commit comments

Comments
 (0)