0

Just starting to build my first Google Chrome Extension and I'm confused about how one could pass user credentials from an app, and log users into the extension.

I need to pass a user key. Can Chrome Storage be used for that?

I have tried another similar that signs users in with just a click to their app, if a user is logged in then it seems that Identity Token is somehow passed to the extension. How do you achieve this? Chrome storage? Oauth2?

PS: I'm not trying to log them in with Google Sign In but to my app, which accepts its own sign-in + Google and LinkedIn sign-in.

Thank you

saasmaster
  • 97
  • 10
  • 1
    There are a lot of options. It depends how you are managing authentication in your app. If you want to use oath, then look at the `chrome.identity` API. If your site stores cookies, you can use `chrome.cookies` - and yes, you can use chrome local storage to save the token in the extension. – Jridyard Dec 03 '22 at 14:40

0 Answers0