You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using the below code block to try to login with google in an in-app webview. The codes are as follows, then it won't trigger Supabase.instance.client.auth.onAuthStateChange
final result =await supabase.auth.signInWithOAuth(
Provider.google,
authScreenLaunchMode:LaunchMode.inAppWebView,
context: context,
queryParams: {
'access_type':'offline',
'prompt':'consent',
},
);
if remove parameter "context" and change it to as follows. Supabase.instance.client.auth.onAuthStateChange get triggered, but the webview won't be dismissed automatically.
final result =await supabase.auth.signInWithOAuth(
Provider.google,
authScreenLaunchMode:LaunchMode.inAppWebView,
queryParams: {
'access_type':'offline',
'prompt':'consent',
},
);
If remove parameter "queryParams", then the in-app webview won't even be presented. Even though I already called auth.signOut(scope: SignOutScope.global).
final result =await supabase.auth.signInWithOAuth(
Provider.google,
authScreenLaunchMode:LaunchMode.inAppWebView,
context: context,
);
Moreover, if I pass parameter "context", the in-app webview is different style from the one without "context".
with parameter "context":
without parameter "context":
Currently, I have no choice but to use external webview for login, which is really not a good user experience for our uses. Could you help on this? Thank you
The text was updated successfully, but these errors were encountered:
Hi Supabase team,
I'm testing with iPhone 15 iOS 17.
I'm using the below code block to try to login with google in an in-app webview. The codes are as follows, then it won't trigger
Supabase.instance.client.auth.onAuthStateChange
if remove parameter "context" and change it to as follows.
Supabase.instance.client.auth.onAuthStateChange
get triggered, but the webview won't be dismissed automatically.If remove parameter "queryParams", then the in-app webview won't even be presented. Even though I already called
auth.signOut(scope: SignOutScope.global)
.Moreover, if I pass parameter "context", the in-app webview is different style from the one without "context".
with parameter "context":
without parameter "context":
Currently, I have no choice but to use external webview for login, which is really not a good user experience for our uses. Could you help on this? Thank you
The text was updated successfully, but these errors were encountered: