avioli / uni_links

Flutter plugin for accepting incoming links.
BSD 2-Clause "Simplified" License
563 stars 303 forks source link

Does not receive event for oauth url redirect #40

Open lukepighetti opened 5 years ago

lukepighetti commented 5 years ago

Hi there,

if you install url_launcher and uni_links and open up a stream to uni.getUriLinksStream().listen(print); and then url.launch("https://myserver/myredirect") which redirects to a scheme, such as myscheme:/?payload="foo", you will see the browser disappear (as expected) but no event is recoreded by uni_links. However, if you open your browser manually, and type myscheme:/?payload="foo" in the address bar, it will open the app and uni_links will fire the event to console.

Short version: if you're using uni_links to listen for oauth2 redirects, the events do not fire. But if you use it any other way, it seems to work.

Do you have any suggestions for listening for these events?

mohamedazher commented 3 years ago

Hi,

I am having the exact same issue while trying to implement oauth. Were you able to solve this issue?