flutter_web_auth
flutter_web_auth copied to clipboard
Support for http/https redirect Uri's
It seems like the library doesn't support HTTP/HTTPS callback schemes and major platforms such as Discord and Xbox only allow those kinds of schemes, even for localhost callbacks (which are HTTP).
PS: Congrat's on a great solution, Linus!
Any information on which native APIs are required to implement this would be much appreciated 🚀
I'm currently working with a platform that also allows only those kinds of schemes. Is it even possible to achieve on iOS?
I'm currently working with a platform that also allows only those kinds of schemes. Is it even possible to achieve on iOS?
To my knowledge you can only achieve this with a webview (which is the route i took). Best of luck tho.
I am currently using webview aswell, but flutter_web_auth would be much cleaner and standard way to go.
Also WebView should not be even considered as solution, as application creator can hijack the credentials.
Any updates?
Really need this for my project too, since google now requires redirect URLs to have HTTP:// or HTTPS:// redirect links
Any information on which native APIs are required to implement this would be much appreciated 🚀
OAuthSwift might be a good route on the iOS side @LinusU. Im currently working on a personal solution to this problem as this has become a huge business requirement recently.
As a workaround you can always deploy your own HTTPS server web page that redirects to your application protocol.
If someone can show this working in native code, than it should be easy to add it to this library, if not then I cannot solve it here either...