From e2337bad535598d9f751505de52a18c59f1505c3 Mon Sep 17 00:00:00 2001 From: Stojan Dimitrovski Date: Mon, 26 Aug 2024 23:11:55 +0200 Subject: [PATCH] feat: add kakao to sign in with ID token (#845) Adds the `kakao` string to the supported `signInWithIdToken` types. Merge after: https://github.com/supabase/gotrue/pull/1381 --- src/lib/types.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/types.ts b/src/lib/types.ts index 95b0ab214..fa24eca5b 100644 --- a/src/lib/types.ts +++ b/src/lib/types.ts @@ -597,8 +597,8 @@ export type SignInWithOAuthCredentials = { } export type SignInWithIdTokenCredentials = { - /** 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: 'google' | 'apple' | 'azure' | 'facebook' | string + /** 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: 'google' | 'apple' | 'azure' | 'facebook' | 'kakao' | string /** OIDC ID token issued by the specified provider. The `iss` claim in the ID token must match the supplied provider. Some ID tokens contain an `at_hash` which require that you provide an `access_token` value to be accepted properly. If the token contains a `nonce` claim you must supply the nonce used to obtain the ID token. */ token: string /** If the ID token contains an `at_hash` claim, then the hash of this value is compared to the value in the ID token. */