Skip to content

Commit 61b686c

Browse files
authored
Merge pull request authlib#552 from dhallam/bug/515-rfc7523-apply-headers-while-signing
515 RFC7523 apply headers while signing
2 parents cadc55d + f506882 commit 61b686c

2 files changed

Lines changed: 412 additions & 1 deletion

File tree

authlib/oauth2/rfc7523/auth.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ def sign(self, auth, token_endpoint):
4141
client_id=auth.client_id,
4242
token_endpoint=token_endpoint,
4343
claims=self.claims,
44-
headers=self.headers,
44+
header=self.headers,
4545
alg=self.alg,
4646
)
4747

@@ -89,5 +89,6 @@ def sign(self, auth, token_endpoint):
8989
client_id=auth.client_id,
9090
token_endpoint=token_endpoint,
9191
claims=self.claims,
92+
header=self.headers,
9293
alg=self.alg,
9394
)

0 commit comments

Comments
 (0)