Bug #268
closedoauth2redirect:// url scheme not supported?
0%
Description
Using Privacy Browser as my default browser, I just wanted to activate a mastodon account in tusky (Android mastodon client app). Signup will work like this:
(1) redirect to a given mastodon instance for web login and access granting
(2) redirect, the browser to an url like oauth2redirect://com.keylesspalace.tusky/?code=<.....>
The second step should launch / switch to the correct app (tusky, in this case) to complete registration. However, so far Privacy Browser, while hitting the oauth2redirect:// url, stops with an error complaining about an unknown URL scheme. Would it be possible to support this kind of login procedures? It would be great not to have to have a second browser around just for such purposes. ;)
Updated by Soren Stoutner over 6 years ago
- Priority changed from 2 to Next Release
It isn't clear to me exactly why this isn't working, but there should be some way to make Privacy Browser kick out custom protocols to the OS to select an application. It is probably some trick that needs to be applied to `shouldOverrideUrlLoading()`.
Updated by Kristian Rink over 6 years ago
Ok, thanks for looking into it. Would be nice to see this working in a future version. :)
Updated by Kristian Rink over 6 years ago
Just along the way: The same seems to happen for market:// URLs that on other browsers make Android launch Play Store / F-Droid directly.
Updated by Soren Stoutner over 6 years ago
Yes, as it is setup now no custom URLs will work. Can you send me a link to a page that uses market:// URLs so that I can test the fix?
Updated by Soren Stoutner over 6 years ago
- Status changed from New to Closed