pyjwt icon indicating copy to clipboard operation
pyjwt copied to clipboard

JSON Web Token implementation in Python

Results 49 pyjwt issues
Sort by recently updated
recently updated
newest added

I'm trying to validate JWTs from Apple using their JWK (https://appleid.apple.com/auth/keys) and it took me hours to figure out what to do with them. Had to piece together information from...

docs
help wanted
good first issue

updates: - [github.com/PyCQA/flake8: 5.0.2 → 5.0.4](https://github.com/PyCQA/flake8/compare/5.0.2...5.0.4)

### Codes: ![image](https://user-images.githubusercontent.com/41787764/183342609-094ddd37-84f6-4f57-a02f-ad525826819c.png) ### Return: ![image](https://user-images.githubusercontent.com/41787764/183342581-2ebb279b-0b81-4232-9308-f397d84db764.png)

Hello, thank you for the tool! It seems the `get_unverified_header` is missing types to use in a strict mypy configuration! https://github.com/jpadilla/pyjwt/blob/master/jwt/api_jws.py#L202 If I am not mistaken, this might do it:...

help wanted
good first issue
stale

PyJWKClient doesn't support custom SSL contexts when calling `fetch_data()` to get the JWK set. ### Expected Result `get_signing_key_from_jwt()` could accept a [SSLContext](https://docs.python.org/3/library/ssl.html#ssl.SSLContext) as a parameter to support authorization servers that...

![image](https://user-images.githubusercontent.com/85499933/181238424-2ce285ae-bf7f-4361-b37b-c2b98de4cfbc.png) ![Uploading image.png…]()

in algorithm.py ``` if any(string_value in key for string_value in invalid_strings): raise InvalidKeyError( "The specified key is an asymmetric key or x509 certificate and" " should not be used as...

stale

JWTs where the signature is generated over a *base64*-encoded (not *base64url*-encoded) payload are erroneously accepted. ## Expected Result These JWTs must be rejected according to several different parts of the...

stale

PyJWT does not support all valid JSON types as the payload. ## Expected Result `str`s, `int`s, `float`s and `list`s (even better `Sequence`s) should be able to encoded in the payload...

stale

Using a hosted KeyCloak instance from https://www.cloud-iam.com/ which sets its `enc` public cert to use `RSA-OAEP` causes `PyJWKClient` to throw an exception (raised by `PyJWK` constructor). ## Expected Result I...

help wanted
stale