Skip to content

using docker to test out fief, but fastapi fief client uses httpcore which doesn't like my self signed cert #346

Answered by frankie567
amalizzio asked this question in Q&A
Discussion options

You must be logged in to vote

You can tune this behavior by setting the verify parameter on the client: https://fief-dev.github.io/fief-python/fief_client.html#Fief.__init__

It corresponds to the verify parameter of HTTPX: https://www.python-httpx.org/advanced/ssl/ The easiest way being to just set verify=False

That said, I'm not sure you need to bother with SSL in local. You can run Fief in plain HTTP in local without any particular issue.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@amalizzio
Comment options

Answer selected by amalizzio
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants