ecency/ecency-vision

More signup options

Opened this issue · 2 comments

feruzm commented

Let's offer easier signup experience with these buttons as well, essentially getting email from these APIs/hooks.

  • Twitter
  • Facebook
  • Google

Hi @feruzm Following is the process that is followed at the time of google signup:

  • First of all we need to register an App on Google Console. This app will be used to get Google token that we will use in Ecency.
  • A callback URL is required that will save the user data in our database and login the user upon callback from google.
  • Google JS client library needs to be included in the Ecency web application.
  • All above is pretty straight forward and almost same OAuth2 Authentication flow is followed by all the social websites. But we need to decide what will be the backend for this purpose. Where are we going to store the user credentials for social login.
  • This will also raise other use cases such as if some one has used their google account to sign up on ecency and then uses it to do simple sign up. We have to make sure to prompt an error for this.

Please discuss a little bit about the backend structure that we are going to follow for this task.

feruzm commented

@MTSaeed we are not going to add signin option, just signup where email is extracted and send to existing signup backend.