auth-py icon indicating copy to clipboard operation
auth-py copied to clipboard

Add "verify" flag to the creation of client

Open cyberillion opened this issue 2 years ago • 3 comments
trafficstars

Is your feature request related to a problem? Please describe. In one of our prod environments, we have an SSL inspector, which means that sometimes we can't validate the certificate. Right now, supabase-py just crashes when run in this environment.

Describe the solution you'd like In gotrue's SyncClient, there is a "verify" parameter for init. I would like there to be a suitable flag in "create_client" function that will be passed on to the gotrue.

Describe alternatives you've considered Right now, we're just overriding all the SyncClients in all the underlying clients that we use (auth, storage, postgres) with "verify=False", when needed.

Additional context No additional context

cyberillion avatar Apr 23 '23 09:04 cyberillion

Yes! we did this as well, it was quite tedious

roiEshedCyberillium avatar Apr 23 '23 15:04 roiEshedCyberillium

Hey team,

Thanks for patiently waiting. Can I check if this is still an issue?

J0 avatar Sep 15 '23 16:09 J0

I think this is still an issue since the verify property mentioned is from the httpx library and not the gotrue-py library itself.

silentworks avatar Oct 04 '23 11:10 silentworks