

You will need to copy the oauth2 library into your chrome extension root into a directory called oauth2. There's an official OAuth tutorial here for Chrome extensions/apps which you can refer to. Now what should I do ? Is there anything that I missed or do wrong here and I also came across one of the chrome extension Screencastify use google login. So now I read google documentation which said that now create a post request using client_id and client_secret but I chrome app create credential on google console which does not have client_secret In which if I remove v2 from the url variable then it always gives error in the turn with id_token but if I add v2 then its success and return code. Var redirectUri = encodeURIComponent('urn:ietf:wg:oauth:2.0:oob:auto') So I came across a solution by using this code below var manifest = () I searched and found chrome.identity to authenticate user using google account but that does not work well.

I just recently building an plugin in which I need to integrate Google Login.
