Clancey / simple_auth

The Simplest way to Authenticate in Flutter

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Documentation lacks information

simonecaf opened this issue · comments

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.

same question