Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
uniqueg committed May 20, 2024
1 parent 16c7901 commit b195666
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion foca/security/auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ def _get_public_keys(
public_keys = {}
for jwk in response.json().get(claim_keys, []):
try:
key = jwt.algorithms.RSAAlgorithm.from_jwk(json.dumps(jwk))
key = str(jwt.algorithms.RSAAlgorithm.from_jwk(json.dumps(jwk)))

# Ensure key is public
if not isinstance(key, RSAPublicKey):
Expand Down

0 comments on commit b195666

Please sign in to comment.