nhost / nhost-dart

Nhost Dart & Flutter packages
https://nhost.io
MIT License
90 stars 33 forks source link

feat: add a new example for oauth that uses webview #147

Open totzk9 opened 2 weeks ago

totzk9 commented 2 weeks ago

This PR provides an example using webview.

The previous example wont work because OAuth providers like Google, Facebook and Apple doesn't acknowledge launchUrl as secure enough (It does work for flutter_web tho).

totzk9 commented 2 weeks ago

This should provide another solution for https://github.com/nhost/nhost-dart/issues/93

dbarrosop commented 2 weeks ago

Nice, thanks. Will ask a colleague to review in the upcoming days. For the record, we are currently working on adding support for native authentication with hasura-auth so there will be no need of using a webview for apple/google sign in on ios/android.