flutter_web_auth icon indicating copy to clipboard operation
flutter_web_auth copied to clipboard

Callback URL Scheme doesn't work after user refreshes page on website.

Open niteshsh4rma opened this issue 3 years ago • 1 comments

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.

niteshsh4rma avatar Jun 08 '22 12:06 niteshsh4rma

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

mo-aro-etailer avatar Oct 12 '22 19:10 mo-aro-etailer

Please read the trouble shooting section at the bottom of the readme.md in

https://github.com/harrowmykel/flutter_web_auth#troubleshooting

harrowmykel avatar Oct 18 '22 15:10 harrowmykel