codeuino / social-platform-donut-backend

Donut API:
http://donut-api-prod.codeuino.org/
GNU General Public License v3.0
24 stars 57 forks source link

Implement google auth #164

Open nisarg1499 opened 4 years ago

nisarg1499 commented 4 years ago

Is your feature request related to a problem? Please describe. Currently there is no login with google. There can be many users who can just login using google and it can be more convinient.

Describe the solution you'd like Add login with google. Implement google auth

Additional context I would be happy to take this issue and implement this.

victorphoenix3 commented 4 years ago

@jaskiratsingh2000 @Rupeshiya If this feature is required, may I submit a PR for implementing this?

Rupeshiya commented 4 years ago

Hi @victorphoenix3 , Yes you can go ahead, make sure you integrate that to frontend. Thanks.

victorphoenix3 commented 4 years ago

@Rupeshiya should we prompt the user for password after signing in through google or log them in directly?

Rupeshiya commented 4 years ago

@victorphoenix3 If you are using passport.js to implement this then just use their name and email etc and yes prompt them for password and then log in directly by varifying in the backend side Thanks