Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
juancarlospaco committed May 28, 2024
1 parent d3ee089 commit e6203f6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions supabase_auth/_sync/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ def __init__(
cookie_options: CookieOptions = CookieOptions.parse_obj(COOKIE_OPTIONS),
api: Optional[SyncGoTrueAPI] = None,
replace_default_headers: bool = False,
verify: bool = True,
) -> None:
"""Create a new client
Expand All @@ -54,6 +55,8 @@ def __init__(
The storage engine to use for persisting the session.
cookie_options : CookieOptions
The options for the cookie.
verify: bool
Verify SSL, True by default, False disables verification.
"""
if url.startswith("http://"):
print(
Expand All @@ -72,6 +75,7 @@ def __init__(
"url": url,
"headers": {**empty_or_default_headers, **headers},
"cookie_options": cookie_options,
"verify": verify,
}
self.api = api or SyncGoTrueAPI(**args)

Expand Down

0 comments on commit e6203f6

Please sign in to comment.