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
Redirection to app does not work. I am using Google sign in authentication process and after successfully sign in it redirects to callback url and opens it. But I don't need it. I need to close browser after successfull sign in process. This is redirect url https://zygomorphic-carola-td-money.koyeb.app/callback. Despite the fact I added all necessery fields in Android Manifest it does not redirect to app. What is wrong in my implementation ? Maybe I miss something ?
Minimal Reproduction
Steps to reproduce the behaviour:
Use the following code:
action: () async {
finalString result =awaitFlutterWebAuth2.authenticate(
url:"https://zygomorphic-carola-td-money.koyeb.app/v1/client/auth",
callbackUrlScheme:"https",
);
print('result is $result');
final token =Uri.parse(result).queryParameters['state'];
print('token is $token');
},
There was already a similar issue at some point: #56
Sadly, this seems to be related to some issues within Android and I would always advise to use a custom scheme instead of http/https as it seems to be the only solution currently.
Description
Redirection to app does not work. I am using Google sign in authentication process and after successfully sign in it redirects to callback url and opens it. But I don't need it. I need to close browser after successfull sign in process. This is redirect url https://zygomorphic-carola-td-money.koyeb.app/callback. Despite the fact I added all necessery fields in Android Manifest it does not redirect to app. What is wrong in my implementation ? Maybe I miss something ?
Minimal Reproduction
Steps to reproduce the behaviour:
Exception or Error
There is not error, just redirection does not work properly.
Expected Behaviour
After receiving redirected url, browser has to close and should return to app.
Screenshots
No response
Additional context
No response
Device
Xiaomi Redmi Note 9
OS
Android
Browser
Chrome
Flutter version
3.13.8
flutter_web_auth_2 version
3.1.1
Checklist
The text was updated successfully, but these errors were encountered: