Clancey / simple_auth

The Simplest way to Authenticate in Flutter
MIT License
352 stars 108 forks source link

Documentation lacks information #150

Open simonecaf opened 3 years ago

simonecaf commented 3 years ago

Hello from documentation I can read this:

Google requires the following redirect: com.googleusercontent.apps.YOUR_CLIENT_ID Simple Auth by default uses SFSafari on iOS and Chrome Tabs on Android.

This means normal http redirects cannot work. You will need to register a custom scheme for your app as a redirect. For most providers, you can create whatever you want. i.e. com.myapp.foo:/redirct

It's not defined how to allow the redirect to the App screen/widget. I believe that using com.myapp.foo:/redirct will redirect the mobile browser to the given URL, probably no more than that. It would be useful how to fully handle the flow so people can be using the module 'simple_auth' in a more effective way.

KhoaSuperman commented 2 years ago

same question