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

Commit e6203f6

Browse files
Fix #320
1 parent d3ee089 commit e6203f6

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

supabase_auth/_sync/client.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ def __init__(
3737
cookie_options: CookieOptions = CookieOptions.parse_obj(COOKIE_OPTIONS),
3838
api: Optional[SyncGoTrueAPI] = None,
3939
replace_default_headers: bool = False,
40+
verify: bool = True,
4041
) -> None:
4142
"""Create a new client
4243
@@ -54,6 +55,8 @@ def __init__(
5455
The storage engine to use for persisting the session.
5556
cookie_options : CookieOptions
5657
The options for the cookie.
58+
verify: bool
59+
Verify SSL, True by default, False disables verification.
5760
"""
5861
if url.startswith("http://"):
5962
print(
@@ -72,6 +75,7 @@ def __init__(
7275
"url": url,
7376
"headers": {**empty_or_default_headers, **headers},
7477
"cookie_options": cookie_options,
78+
"verify": verify,
7579
}
7680
self.api = api or SyncGoTrueAPI(**args)
7781

0 commit comments

Comments
 (0)