diff --git a/supabase/_async/auth_client.py b/supabase/_async/auth_client.py index 9d69fd96..21610162 100644 --- a/supabase/_async/auth_client.py +++ b/supabase/_async/auth_client.py @@ -22,7 +22,8 @@ def __init__( persist_session: bool = True, storage: AsyncSupportedStorage = AsyncMemoryStorage(), http_client: Optional[AsyncClient] = None, - flow_type: AuthFlowType = "implicit" + flow_type: AuthFlowType = "implicit", + verify: bool = True, ): """Instantiate SupabaseAuthClient instance.""" if headers is None: @@ -38,4 +39,5 @@ def __init__( storage=storage, http_client=http_client, flow_type=flow_type, + verify=verify, ) diff --git a/supabase/_async/client.py b/supabase/_async/client.py index 226b989e..48ba994b 100644 --- a/supabase/_async/client.py +++ b/supabase/_async/client.py @@ -237,6 +237,7 @@ def _init_storage_client( def _init_supabase_auth_client( auth_url: str, client_options: ClientOptions, + verify: bool = True, ) -> AsyncSupabaseAuthClient: """Creates a wrapped instance of the GoTrue Client.""" return AsyncSupabaseAuthClient( @@ -246,6 +247,7 @@ def _init_supabase_auth_client( storage=client_options.storage, headers=client_options.headers, flow_type=client_options.flow_type, + verify=verify, ) @staticmethod diff --git a/supabase/_sync/auth_client.py b/supabase/_sync/auth_client.py index 5a544dd2..9815a238 100644 --- a/supabase/_sync/auth_client.py +++ b/supabase/_sync/auth_client.py @@ -22,7 +22,8 @@ def __init__( persist_session: bool = True, storage: SyncSupportedStorage = SyncMemoryStorage(), http_client: Optional[SyncClient] = None, - flow_type: AuthFlowType = "implicit" + flow_type: AuthFlowType = "implicit", + verify: bool = True, ): """Instantiate SupabaseAuthClient instance.""" if headers is None: @@ -38,4 +39,5 @@ def __init__( storage=storage, http_client=http_client, flow_type=flow_type, + verify=verify, ) diff --git a/supabase/_sync/client.py b/supabase/_sync/client.py index 47762630..4ec1ee5e 100644 --- a/supabase/_sync/client.py +++ b/supabase/_sync/client.py @@ -237,6 +237,7 @@ def _init_storage_client( def _init_supabase_auth_client( auth_url: str, client_options: ClientOptions, + verify: bool = True, ) -> SyncSupabaseAuthClient: """Creates a wrapped instance of the GoTrue Client.""" return SyncSupabaseAuthClient( @@ -246,6 +247,7 @@ def _init_supabase_auth_client( storage=client_options.storage, headers=client_options.headers, flow_type=client_options.flow_type, + verify=verify, ) @staticmethod