I have a problem related to browser.identity API and OAuth authentication with Google. The issue is described here: https://old.reddit.com/r/firefox/comments/cb5n63/how_do_you_deal_with_this
When you create a WebExtension and call:
chrome.identity.getRedirectURL(); or browser.identity.getRedirectURL(); // they are the same thing
You get an URL like:
This is the URL that must be whitelisted in console.developers.google.com as the redirect URI.
Now Google doesn’t accept any domains as redirect URIs that are not verified to be owned by you. But I cannot verify a domain as mine that I don’t own (Mozilla owns allizom.org). And I can’t choose whatever domain since I need to comply with the URL that chrome.identity.getRedirectURL() is giving so that the browser can capture the OAuth loop correctly.
So how can I convince Google to approve my OAuth redirect URI in console.developers.google.com?