From 74a6e0040167b2ee144649537aec1c7898dc565e Mon Sep 17 00:00:00 2001 From: Guilherme Souza Date: Mon, 10 Nov 2025 11:47:30 -0300 Subject: [PATCH] docs: update signInWithIdToken provider documentation Clarify that signInWithIdToken supports Facebook, Kakao, and Keycloak in addition to Apple and Google. Update README and method docstring to reflect that client-side provider validation was removed in v2.14.0. Closes #1259 --- packages/gotrue/lib/src/gotrue_client.dart | 3 ++- packages/supabase_flutter/README.md | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/gotrue/lib/src/gotrue_client.dart b/packages/gotrue/lib/src/gotrue_client.dart index 44981749..b91acbdb 100644 --- a/packages/gotrue/lib/src/gotrue_client.dart +++ b/packages/gotrue/lib/src/gotrue_client.dart @@ -376,7 +376,8 @@ class GoTrueClient { return authSessionUrlResponse; } - /// Allows signing in with an ID token issued by certain supported providers. + /// Allows signing in with an ID token issued by supported providers. + /// Common supported providers include Apple, Google, Facebook, Kakao, and Keycloak. /// The [idToken] is verified for validity and a new session is established. /// /// If the ID token contains an `at_hash` claim, then [accessToken] must be diff --git a/packages/supabase_flutter/README.md b/packages/supabase_flutter/README.md index bdd75592..047545a5 100644 --- a/packages/supabase_flutter/README.md +++ b/packages/supabase_flutter/README.md @@ -186,7 +186,7 @@ Future _googleSignIn() async { ### OAuth login -For providers other than Apple or Google, you need to use the `signInWithOAuth()` method to perform OAuth login. This will open the web browser to perform the OAuth login. +The `signInWithIdToken()` method supports providers like Apple, Google, Facebook, Kakao, and Keycloak. For other providers, you need to use the `signInWithOAuth()` method to perform OAuth login. This will open the web browser to perform the OAuth login. Use the `redirectTo` parameter to redirect the user to a deep link to bring the user back to the app. Learn more about setting up deep links in [Deep link config](#deep-link-config).