2

In my chrome extension, I want to authenticate the user based on email address i.e. I want the user to be able to access my extension only if his email address is from a specific domain.

I have tried following the instructions here but I keep getting OAuth client not found error 401 whenever i run my extension.

The tutorials and instructions for implementing authentication in a chrome extension are quite overwhelming and confusing.

Can someone link me to some simple tutorial to achieve simple authentication in a google chrome extension.

Josip Ivic
  • 3,639
  • 9
  • 39
  • 57
pd176
  • 821
  • 3
  • 10
  • 20
  • You should use the `Chrome Identity API` to authenticate users. Follow the details here: https://developer.chrome.com/apps/app_identity and [chrome.identity User Authentication in a Chrome Extension](http://stackoverflow.com/questions/25044936/chrome-identity-user-authentication-in-a-chrome-extension) – Dayton Wang Jun 17 '15 at 17:20
  • unclear. are these email addresses all gmail/gapps? orherwise identity wont work. – Zig Mandel Jun 18 '15 at 05:18
  • The email id's are all google business id's. All are of the form ***.xyz.in – pd176 Jun 18 '15 at 05:51
  • http://stackoverflow.com/questions/25044936/chrome-identity-user-authentication-in-a-chrome-extension – Amit G Jun 18 '15 at 07:05

0 Answers0