flutter_web_auth
flutter_web_auth copied to clipboard
Callback URL Scheme doesn't work after user refreshes page on website.
I've working on a oauth website, sometimes redirect fails due to API, but when I refresh it redirects to the current callbackScheme in the android/ios, but flutter_web_auth doesn't work as expected and shows invalid URL screen.
I had the same problem too and fixed it this way
Your schema must be valid or else this wont work.
You can not use underscore or space
check https://stackoverflow.com/questions/9142309/may-url-scheme-contain-an-underscore for valid schema
Please read the trouble shooting section at the bottom of the readme.md in
https://github.com/harrowmykel/flutter_web_auth#troubleshooting