-
Notifications
You must be signed in to change notification settings - Fork 182
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for http/https redirect Uri's #96
Comments
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? |
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 |
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... |
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!
The text was updated successfully, but these errors were encountered: