Closed subsurfaceiodev closed 11 months ago
We get an Internal Server Error when running https://docs.fief.dev/integrate/python/fastapi/#web-application-example. Traceback shows error originated from: [fief_client/client.py] signed_id_token = jwt.JWT(jwt=id_token_claims, algs=["RS256"], key=jwks)
signed_id_token = jwt.JWT(jwt=id_token_claims, algs=["RS256"], key=jwks)
--> TypeError: Expected JWS, got JWE
web-application-example, as stated above
No error
https://docs.fief.dev/integrate/python/fastapi/#api-example runs fine with no errors
Hail, @subsurfaceiodev 👋 Welcome to Fief's kingdom!
Our team will get back to you very soon to help.
In the meantime, take a minute to star our repository ⭐️
Farewell!
Describe the bug
We get an Internal Server Error when running https://docs.fief.dev/integrate/python/fastapi/#web-application-example. Traceback shows error originated from: [fief_client/client.py]
signed_id_token = jwt.JWT(jwt=id_token_claims, algs=["RS256"], key=jwks)
--> TypeError: Expected JWS, got JWE
To Reproduce
web-application-example, as stated above
Expected behavior
No error
Configuration
Additional context
https://docs.fief.dev/integrate/python/fastapi/#api-example runs fine with no errors