From e12e7e6a08e206370242469f77b2d87ce0f045c5 Mon Sep 17 00:00:00 2001 From: Andrew Smith Date: Wed, 17 Jul 2024 21:33:18 +0000 Subject: [PATCH] add kakao to provider list --- supabase_auth/_async/gotrue_client.py | 1 - supabase_auth/_sync/gotrue_client.py | 1 - supabase_auth/types.py | 4 ++-- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/supabase_auth/_async/gotrue_client.py b/supabase_auth/_async/gotrue_client.py index 7c9814cd..c3d2b417 100644 --- a/supabase_auth/_async/gotrue_client.py +++ b/supabase_auth/_async/gotrue_client.py @@ -307,7 +307,6 @@ async def sign_in_with_id_token( access_token = credentials.get("access_token") nonce = credentials.get("nonce") options = credentials.get("options", {}) - data = options.get("data") or {} captcha_token = options.get("captcha_token") response = await self._request( diff --git a/supabase_auth/_sync/gotrue_client.py b/supabase_auth/_sync/gotrue_client.py index 91cf5023..fd7d3240 100644 --- a/supabase_auth/_sync/gotrue_client.py +++ b/supabase_auth/_sync/gotrue_client.py @@ -307,7 +307,6 @@ def sign_in_with_id_token( access_token = credentials.get("access_token") nonce = credentials.get("nonce") options = credentials.get("options", {}) - data = options.get("data") or {} captcha_token = options.get("captcha_token") response = self._request( diff --git a/supabase_auth/types.py b/supabase_auth/types.py index 2ffed75b..63d23fd4 100644 --- a/supabase_auth/types.py +++ b/supabase_auth/types.py @@ -305,10 +305,10 @@ class SignInWithPhoneAndPasswordCredentials(TypedDict): class SignInWithIdTokenCredentials(TypedDict): """ - Provider name or OIDC `iss` value identifying which provider should be used to verify the provided token. Supported names: `google`, `apple`, `azure`, `facebook`, `keycloak` (deprecated). + Provider name or OIDC `iss` value identifying which provider should be used to verify the provided token. Supported names: `google`, `apple`, `azure`, `facebook`, `kakao`, `keycloak` (deprecated). """ - provider: Literal["google", "apple", "azure", "facebook"] + provider: Literal["google", "apple", "azure", "facebook", "kakao"] token: str access_token: NotRequired[str] nonce: NotRequired[str]