Closed xjeremy60 closed 1 year ago
You need to set the callbackUrlScheme parameter appropriately here:
final result = await FlutterWebAuth2.authenticate(
url: authUrl,
callbackUrlScheme: 'jukebox',
);
See the example: https://github.com/ThexXTURBOXx/flutter_web_auth_2/blob/master/flutter_web_auth_2/example/lib/main.dart#L113
Closed as invalid
Describe the bug
A clear and concise description of what the bug is. Hello,
I want to use flutter_web_auth_2 for web app.
I test my application with visual studio code.
I have this error : flutter: Invalid argument(s): Callback url scheme must start with http://localhost:{port}
Can you help me ?
Thanks in advance
To Reproduce
This is my code :
Checklist
I try to set redirectUri = 'http://localhost:{port}'