social-platform-donut-backend icon indicating copy to clipboard operation
social-platform-donut-backend copied to clipboard

Implement google auth

Open nisarg1499 opened this issue 4 years ago • 4 comments

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.

nisarg1499 avatar Aug 04 '20 14:08 nisarg1499

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

victorphoenix3 avatar Sep 02 '20 09:09 victorphoenix3

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

Rupeshiya avatar Sep 02 '20 10:09 Rupeshiya

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

victorphoenix3 avatar Sep 04 '20 09:09 victorphoenix3

@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

Rupeshiya avatar Sep 04 '20 20:09 Rupeshiya