Comments (7)
Wouldn't a In-App web view pretty much defeat the whole point of OAuth?
As far as I understand, running some sort of WebView in the caller's process also enables accessing everything that's entered into the login page (by adding JavaScript hooks, or DOM scraping, or piping interaction through an invisible overlay view, or ...), thus exposing user credentials to the calling app.
At that point there would be no security gain over just letting the user enter her credentials directly into the app, right?
from flutter_web_auth_2.
Yes, that is the reason why I recently decided against it. However, I am still thinking about other ways to provide the callback process
from flutter_web_auth_2.
Shortly, it's not library issue. Look like it's incorrect behaviour of Firebase for some phones/browsers. More info here firebase/firebase-js-sdk#4256
from flutter_web_auth_2.
@AndreiRoze we know , can you provide any way to pass this .
from flutter_web_auth_2.
@Joseph-Nathan, you can try to use redirect to your server and from your server redirect to app by package name, but i am not sure, may be it useless.
from flutter_web_auth_2.
The issue may be related to Firebase, but the feature request with the In-App web view is a nice idea. So I let this open for now
from flutter_web_auth_2.
any news for provide callback process to Firebase ?
from flutter_web_auth_2.
Related Issues (20)
- Android: Google login fails because custom URI scheme is not allowed HOT 3
- Redirection to app does not work HOT 2
- MissingPluginException(No implementation found for method authenticate on channel flutter_web_auth_2)[Bug]: <Choose an appropriate title> HOT 3
- Custom Chrome Tabs - pre-fetching and settings custom colors HOT 1
- Add ASWebAuthenticationSession.Callback support HOT 2
- App does not authenticate the user after redirection HOT 2
- [Bug]: browser window doesn't close on Android even sso redirection is successful HOT 4
- [Bug]: Session completion does not redirect me back to the app with my universal link and data (Only in IOS flutter App) HOT 1
- [Bug]: ClearAllDanglingCalls onResume in web app after upgrading to flutter 3.22.0 HOT 6
- [Bug]: Android future never return when close web view HOT 6
- Write an example server
- [Bug]: Scripts may not close windows that were not opened by script on web mobile (Android only) HOT 2
- [Bug]: Invalid argument (callbackUrlScheme) on macOS HOT 3
- Browser window is closed and cancel called when app is sent to background and foreground again on Android HOT 3
- Different behavior in iOS and Android when switching apps HOT 1
- Slient Auth For Android and IOS HOT 2
- [Bug]: Telegram Authentication in FlutterWebAuth2 CANCELED
- Migrate to `package:web` to support WASM HOT 3
- Flutter web application does not return after login
- Redirect url after login in Flutter web does not work HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flutter_web_auth_2.