Does the chrome.identity api work in chrome extensions in brave?
See original GitHub issueDescription
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?
Steps to Reproduce
- call
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:
- Can you reproduce this issue with the current release? Yes
- Can you reproduce this issue with the beta channel?
- Can you reproduce this issue with the dev channel?
- Can you reproduce this issue with the nightly channel?
Other Additional Information:
- Does the issue resolve itself when disabling Brave Shields? No
- Does the issue resolve itself when disabling Brave Rewards? No
- Is the issue reproducible on the latest version of Chrome? No
Issue Analytics
- State:
- Created 4 years ago
- Comments:12 (5 by maintainers)
Top Results From Across the Web
Allow Google login Third Parties and Extensions - GitHub
If you navigate to brave://settings/extensions , you will see an option to enable Allow extensions to use chrome.identity api . extensions. When ...
Read more >chrome.identity - Chrome Developers
Use the chrome.identity API to get OAuth2 access tokens. Permissions. identity ... This ID will not change for the lifetime of the account....
Read more >How to add or install Chrome extensions - Brave Browser
And, like Chrome, Brave supports most extensions from the Chrome Web Store. That means “Brave extensions” or “Brave add-ons” are exactly the ...
Read more >How to authenticate in a Chrome extension? (with manifest v3)
I've been working on this for the last 3 days. A couple issue I've had with the identity API is brave browser blocks...
Read more >Using Google Keep Extension on Brave Browser
I finally successfully got Google's Keep Chrome Extension to work with ... But now I can natively use these Google extensions in Brave...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi @ss87codes - You should be able to use this api by enabling
Allow Google login for extensions
inbrave://settings/extensions
. If you are running into any issues, let us know.@jumde @bsclifton any update on this pls? We are looking to provide Google Auth via chrome extn on brave.