Bug #268


oauth2redirect:// url scheme not supported?

Added by Kristian Rink about 6 years ago. Updated almost 6 years ago.

Next Release
Start date:
Due date:
% Done:


Estimated time:


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

Actions #2

Updated by Soren Stoutner about 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()`.,%20java.lang.String)

Actions #3

Updated by Kristian Rink about 6 years ago

Ok, thanks for looking into it. Would be nice to see this working in a future version. :)

Actions #4

Updated by Kristian Rink about 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.

Actions #5

Updated by Soren Stoutner almost 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?


Also available in: Atom PDF