flutter_web_auth icon indicating copy to clipboard operation
flutter_web_auth copied to clipboard

How do I redirect to my mobile app?

Open andres-alba opened this issue 3 years ago • 5 comments

can someone share implementation of this with flutter? I see no examples of actual applications authenticating with this package.

andres-alba avatar Jan 13 '22 18:01 andres-alba

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.

Konradrundfunk avatar Feb 23 '22 15:02 Konradrundfunk

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.

Konradrundfunk avatar Feb 27 '22 08:02 Konradrundfunk

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.

ThomasAunvik avatar May 20 '22 08:05 ThomasAunvik

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 00:10 mo-aro-etailer

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?

oshju avatar Oct 17 '22 12:10 oshju

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

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

LinusU avatar Nov 01 '22 07:11 LinusU

Thanks!

Konradrundfunk avatar Nov 03 '22 21:11 Konradrundfunk