Hi, I know that the basic intent for the App Links project is to provide Deep Linking between Applications and URLs of websites that those applications represent. So when one clicks on a URL on some webpage published as an advertisement, he is directly taken to the installed app linked to the URL or else opens its website if the app is not already installed.
However I am planning to use the App Links behavior into our app for OAuth authentication. As everybody knows, OAuth requires signing into a Service Provider website with login credentials and then it returns an alphanumeric CODE which can then be exchanged later for an authentication token. After the introduction of Chrome Custom Tabs, I moved from Webview to Custom Tabs for a better user experience. However since the Custom Tabs open like an external browser app, I am facing challenges in sharing the CODE back with my app once the user enters the login credentials. I thought of using the Custom scheme approach however that poses the risk of any other app listening for the CODE once they identify the Custom scheme that my app uses. Then I got to know about the App Links approach where I can make my app the sole listener even for HTTP/HTTPS schemes. So I have setup the App Links JSON file on my web server and also activated the AutoVerify property for my app. But when the Custom tab gets the OAuth CODE via http redirect, that CODE is not getting redirected to my app. I tried to verify my App Links setup by hard-coding the OAuth code in an email message and when I click on that link, the system directly opens my app (it does not open it in browser). However it is not working when the CODE comes as a HTTP Redirection URL. So from the testing that I have done I have concluded that when a URL (on a webpage or an email) is clicked manually, App Links works (opens the desired app). However when the same URL gets loaded in another browser (Custom Tabs) through HTTP Redirection URL (that is the way OAuth works), it does not work. Is there a way I can get this to work? Am I missing some configuration changes that would support App Links to work with URL Redirection as well. Any support on this are highly welcome. Thanks, Saurabh -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/android-developers. To view this discussion on the web visit https://groups.google.com/d/msgid/android-developers/e271b875-cf3e-4f6f-8457-307173d5ca5f%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

