supabase / supabase-py

Python Client for Supabase. Query Postgres from Flask, Django, FastAPI. Python user authentication, security policies, edge functions, file storage, and realtime data streaming. Good first issue.
https://supabase.com/docs/reference/python
MIT License
1.72k stars 203 forks source link

fix: add `verify` argument to `_init_supabase_auth_client()` #913

Closed arkadiy-telegin closed 2 months ago

arkadiy-telegin commented 2 months ago

What kind of change does this PR introduce?

Add verify argument to _init_supabase_auth_client() for SSL certificate verification. This follows the convention set by _init_postgrest_client() and _init_storage_client().

What is the current behavior?

verify flag cannot be passed to the underlying [Async]GoTrueClient.

What is the new behavior?

_init_supabase_auth_client() can be passed the verify flag that is propagated to the underlying [Async]GoTrueClient.

Additional context

Follows convention of https://github.com/supabase/supabase-py/pull/813