Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More signup options #1310

Open
3 tasks
feruzm opened this issue Apr 18, 2023 · 2 comments
Open
3 tasks

More signup options #1310

feruzm opened this issue Apr 18, 2023 · 2 comments
Assignees

Comments

@feruzm
Copy link
Member

feruzm commented Apr 18, 2023

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

  • Twitter
  • Facebook
  • Google
@MTSaeed
Copy link
Collaborator

MTSaeed commented Apr 19, 2023

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
Copy link
Member Author

feruzm commented Apr 19, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants