Skip to content
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

Open
Yodart opened this issue Oct 24, 2021 · 9 comments
Open

Support for http/https redirect Uri's #96

Yodart opened this issue Oct 24, 2021 · 9 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@Yodart
Copy link

Yodart commented Oct 24, 2021

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!

@LinusU LinusU added enhancement New feature or request help wanted Extra attention is needed labels Oct 25, 2021
@LinusU
Copy link
Owner

LinusU commented Oct 25, 2021

Any information on which native APIs are required to implement this would be much appreciated 🚀

@MrSherish
Copy link

MrSherish commented Apr 13, 2022

I'm currently working with a platform that also allows only those kinds of schemes. Is it even possible to achieve on iOS?

@Yodart
Copy link
Author

Yodart commented Apr 13, 2022

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.

@MrSherish
Copy link

I am currently using webview aswell, but flutter_web_auth would be much cleaner and standard way to go.

@MrSherish
Copy link

Also WebView should not be even considered as solution, as application creator can hijack the credentials.

@joaobaronisilva
Copy link

Any updates?

@ElDuderini
Copy link

Really need this for my project too, since google now requires redirect URLs to have HTTP:// or HTTPS:// redirect links

@Yodart
Copy link
Author

Yodart commented Jul 22, 2022

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.

@LinusU
Copy link
Owner

LinusU commented Oct 30, 2022

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...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

5 participants