I am creating an application and I plan to have some kind of cloud with it, but I do not want to create a user database, and users must remember their username and password.
Since it will be distributed through the Chrome app store, it basically ensures that the user has a google account. All I want to do is:
Receive user email through google account material. If I get it there, well, then their email is all I need to get user data.
If I attach the application to something other than the Chrome browser, I just ask the user to use his email to request a verification link, and then send them a verification code for this account, they put the verification code into the application, he accepts it as a verified user to be safe and easy.
EDIT: I study this. So far, I:
OAuth 2 Google APIs
But I have a problem that I do not know what to specify as my javascript source in the Google API, and there is not much information about this. If someone tells me what is happening in javascript, I need to install the chrome extension to access google api, this will be a big help.
PS: Thank you for voting, so I like to resort to stack exchanges.
source share