-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Does the chrome.identity api work in chrome extensions in brave? #7693
Comments
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) |
@jumde @bsclifton any update on this pls? We are looking to provide Google Auth via chrome extn on brave. |
Hi @ss87codes - You should be able to use this api by enabling |
Thank you @jumde |
@jumde I have enabled Google sign in
error. Reset Brave, after that I am getting
error when calling After that restarted Brave one more time - and it worked! |
Any update on this? |
@MoeBazziGIT - Update here: #15754 (comment) We haven't found any extensions where |
Writing in to let you know that our browser extension does use other oauth scopes with the identity api. We request gmail.readonly and gmail.modify and have been approved by Google. |
@dcow I believe the cc: @ShivanKaul UPDATE: here we go - found it - #15754 |
@bsclifton neat I'll test our extension out on Brave. Came across this thread in a discussion with another chrome-embedder's team about supporting the identity api and it wasn't clear what the resolution was here. Thanks for the update! |
I have extension working in chrome using
Is this not supported? edit: just saw this GoogleChrome/developer.chrome.com#7434 (comment) wonder if it is still applicable. |
Hi! We are using Chrome Identity API in our extension ( The "Allow Google login in extensions" setting doesn't make any difference You can replicate with our Meeting Timer for Google Meet extension Please consider reopening the issue |
Description
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 showsUnchecked runtime.lastError: The user turned off browser signin
.So is
chrome.identity
supported in Brave?Steps to Reproduce
chrome.identity.getAuthToken()
in an extension. (if you want to try with an existing extension, try the extension "Full Screen for Google Tasks".Actual result:
No oAuth window appears. In the console it shows
Unchecked runtime.lastError: The user turned off browser signin
.Expected result:
oAuth window appears.
Brave version (brave://version info)
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)
Version/Channel Information:
Yes
Other Additional Information:
No
No
No
The text was updated successfully, but these errors were encountered: