Skip to content

Commit

Permalink
Update intuitlib/utils.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Natim authored Jul 21, 2024
1 parent 703c3e8 commit 96e4f37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion intuitlib/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ def validate_id_token(id_token, client_id, intuit_issuer, jwk_uri):
return False

message = id_token_parts[0] + '.' + id_token_parts[1]
public_key = get_jwk(id_token_header['kid'], jwk_uri)
public_key = get_jwk(id_token_header['kid'], jwk_uri).key

is_signature_valid = public_key.verify(message.encode('utf-8'), id_token_signature)
return is_signature_valid
Expand Down

0 comments on commit 96e4f37

Please sign in to comment.