(I have asked the same question in stackoverflow, and unfortunately I got no reply on this. And an AMO editor introduced this forum to me.)
I have built an open sourced extension some time ago, and the extension needs OAuth 2.0 to access some Google Drive API.
Now, I want to convert the Firefox extension from XPI to WebExtension for easier maintenance in the future (as Chrome and Firefox WebExtensions are very much alike).
I thought the migration should be easy as I already got two versions of extensions on hand. But after some research I can’t find an easy way to access the OAuth 2.0 inside the Firefox WebExtension.
Some advices would be greatly appreciated.
Thanks a lot!