I'm a chrome extension developer. In my extension I call chrome.identity.getAuthToken() to do oAuth, this normally pops up a sign-in window in Chrome. The identity API is what made oAuth possible in extensions. However, in Brave, the popup doesn't appear, and in the console it shows Unchecked runtime.lastError: The user turned off browser signin.
So is chrome.identity supported in Brave?
chrome.identity.getAuthToken() in an extension. (if you want to try with an existing extension, try the extension "Full Screen for Google Tasks".No oAuth window appears. In the console it shows Unchecked runtime.lastError: The user turned off browser signin.
oAuth window appears.
Brave | 1.2.42 Chromium: 79.0.3945.117聽(Official Build)聽(64-bit)
Revision | 04f0a055010adab4484f7497fbfdbf312c307f1d-refs/branch-heads/3945@{#1019}
OS | Windows聽10 OS Version 1903 (Build 18362.295)
@ZYinMD I believe this is expected behavior, as we do disable browser sign in. Any calls made to GAIA are non-routable
@jumde can you confirm?
cc: @pilgrim-brave @tomlowenthal
Confirmed. GAIA is unavailable in Brave in any context.
Thanks!
Hi, just wondering if there is an alternative please?
If I can't use GAIA chrome.identity.getAuthToken() in my extension, but still want to offer Google Auth, how can I do this please?
Thanks
Quick update - @jumde is looking at getting some of this functionality working in Brave (put behind a flag of course)
Most helpful comment
Quick update - @jumde is looking at getting some of this functionality working in Brave (put behind a flag of course)