fief-dev / fief

Users and authentication management SaaS
https://www.fief.dev
Other
486 stars 42 forks source link

Internal Server Error when running web-application-example #240

Closed subsurfaceiodev closed 11 months ago

subsurfaceiodev commented 11 months ago

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

fief-bailiff[bot] commented 11 months ago

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 ⭐️

star-fief

Farewell!