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

Commit 74c6db0

Browse files
chore(tests): Increase coverage (#652)
BEGIN_COMMIT_OVERRIDE fix: add missing await chore(tests): add more unit tests and increase coverage END_COMMIT_OVERRIDE
1 parent d2b7ce1 commit 74c6db0

File tree

5 files changed

+715
-36
lines changed

5 files changed

+715
-36
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ jobs:
3838
pip install pydantic==1.10.12
3939
make tests_only
4040
- name: Upload coverage to Coveralls
41+
if: ${{ matrix.python-version }} == "3.12"
4142
uses: coverallsapp/github-action@v2
4243
with:
4344
github-token: ${{ secrets.GITHUB_TOKEN }}

supabase_auth/_async/gotrue_client.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,7 @@ async def sign_in_with_sso(self, credentials: SignInWithSSOCredentials):
349349
If you have built an organization-specific login page, you can use the
350350
organization's SSO Identity Provider UUID directly instead.
351351
"""
352-
self._remove_session()
352+
await self._remove_session()
353353
provider_id = credentials.get("provider_id")
354354
domain = credentials.get("domain")
355355
options = credentials.get("options", {})
@@ -361,7 +361,7 @@ async def sign_in_with_sso(self, credentials: SignInWithSSOCredentials):
361361
skip_http_redirect = options.get("skip_http_redirect", True)
362362

363363
if domain:
364-
return self._request(
364+
return await self._request(
365365
"POST",
366366
"sso",
367367
body={
@@ -375,7 +375,7 @@ async def sign_in_with_sso(self, credentials: SignInWithSSOCredentials):
375375
xform=parse_sso_response,
376376
)
377377
if provider_id:
378-
return self._request(
378+
return await self._request(
379379
"POST",
380380
"sso",
381381
body={

0 commit comments

Comments
 (0)