MaikuB / flutter_appauth

A Flutter wrapper for AppAuth iOS and Android SDKs
269 stars 239 forks source link

in appweb view with flutter_appauth #392

Closed san1109 closed 1 year ago

san1109 commented 1 year ago

I saw oauth2 package in which we can get the authorization url and process it for in app web view but flutter_appauth doesn't support that feature. Any ideas ?

MaikuB commented 1 year ago

This plugin is a wrapper for other libraries that handle the authorisation flow. It also mentions what can and can't be done is constrained by what those SDKs support. This means if you want to know what is even possible then you need to read their docs. It may well be that if you want Ah web view instead that you need to handle it yourself but at the same time you should do your research on what are the best practices in dealing with oAuth on native mobile apps. There are resources online you can look up on this and you should fine these will explain that webviews shouldn't be used and provide the reasons