Skip to content
This repository was archived by the owner on Sep 8, 2025. It is now read-only.

Commit d3ee089

Browse files
Fix #320
1 parent 339fb59 commit d3ee089

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

supabase_auth/_sync/api.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,13 @@ def __init__(
2626
headers: Dict[str, str],
2727
cookie_options: CookieOptions,
2828
http_client: Optional[SyncClient] = None,
29+
verify: bool = True,
2930
) -> None:
3031
"""Initialise API class."""
3132
self.url = url
3233
self.headers = headers
3334
self.cookie_options = cookie_options
34-
self.http_client = http_client or SyncClient()
35+
self.http_client = http_client or SyncClient(verify=bool(verify))
3536

3637
def __enter__(self) -> SyncGoTrueAPI:
3738
return self

0 commit comments

Comments
 (0)