Shopy icon indicating copy to clipboard operation
Shopy copied to clipboard

[Feat]: Google Authentication

Open SaurabhS55 opened this issue 1 year ago • 5 comments

Hey @mohitparmar1 , It will more user friendly, if we add "Login with Google" button. Can we add "Login with Google" button? I would like to work on this feature. could you assign this feature to me under GSSOC'24 label ?

SaurabhS55 avatar May 12 '24 12:05 SaurabhS55

Hi @mohitparmar1 I am Muthuvel and I have prior experience of working with MERN stack. I would like to work on this issue. could you assign this issue to me with GSSOC'24 label.

Ok, now talking about Adding google authentication:-

  • We can do it using Passport.js npm library.
  • we can follow this steps to do so :-
  • Create a button called "Login with Google"
  • At backend, create a route, say "/auth" and on that route create a middleware to use passport.js functionalities.
  • "/auth" route authenticate user gmail and return its credentials to frontend.
  • Finally, At frontend we will store that credentials in localstorage. Using Google OAuth This feature will make the user easy to login.

I have read the code of conduct and expecting positive response. Thank you

MuthuvelA avatar May 13 '24 09:05 MuthuvelA

@MuthuvelA assigned an issue to @SaurabhS55 if he is unable to solve it, then it will be assigned to you

mohitparmar1 avatar May 16 '24 04:05 mohitparmar1

Hey @mohitparmar1, Is there anyone working on Api connections and form handling? As there are multiple issues with this.

SaurabhS55 avatar May 17 '24 17:05 SaurabhS55

I guess not, if you want to work on that I will assign it to you! just mention this issue there

mohitparmar1 avatar May 21 '24 09:05 mohitparmar1

Hey @mohitparmar1, while implementing this issue I found login and signup features were missing, so before this feature, I developed login and signup features. I will create issue for that, Could you assign this issue to me, so that I will make pr of it.

SaurabhS55 avatar May 29 '24 08:05 SaurabhS55