Skip to content

Commit

Permalink
Merge pull request #201 from UnidyID/master
Browse files Browse the repository at this point in the history
Add back typ=JWT to header
  • Loading branch information
nbulaj authored Feb 26, 2024
2 parents 5987683 + 1edbf4a commit c4810f5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,5 @@
/pkg
gemfiles/*.lock
*.gem

.idea/
2 changes: 1 addition & 1 deletion lib/doorkeeper/openid_connect/id_token.rb
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def as_jws_token
::JWT.encode(as_json,
Doorkeeper::OpenidConnect.signing_key.keypair,
Doorkeeper::OpenidConnect.signing_algorithm.to_s,
{ kid: Doorkeeper::OpenidConnect.signing_key.kid }
{ typ: 'JWT', kid: Doorkeeper::OpenidConnect.signing_key.kid }
).to_s
end

Expand Down

0 comments on commit c4810f5

Please sign in to comment.