flutter_web_auth
flutter_web_auth copied to clipboard
How do I redirect to my mobile app?
can someone share implementation of this with flutter? I see no examples of actual applications authenticating with this package.
I am also stuck with a simular issue. I looked at the implementation and couldn't see any references to a redirect to the iOS app. I am considering on implementing a similar function by myself to get it to work.
I have an update on this. The ios safari web auth view doesnt allow redirects from a universal url and only from a url shema.
I use the combination with OpenIdConnect library to generate the authentication url and to do the code exchange, supporting PKCE at the same time too.
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
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
i have same issue ,can you share you code?
Please read the trouble shooting section at the bottom of the readme.md in
https://github.com/harrowmykel/flutter_web_auth#troubleshooting
Troubleshooting has now been merged into this repo 🎉
Please take a look and see if it helps you, if not we can reopen
https://github.com/LinusU/flutter_web_auth#troubleshooting
Thanks!