Innovateninjas / Paws-frontend

A fast responsive webapp that allows you to report injured stray animals to the nearest NGOs.
https://pawss.vercel.app
GNU General Public License v3.0
60 stars 99 forks source link

not working FireBase Google Auth #331

Closed aryansharma220 closed 4 months ago

aryansharma220 commented 4 months ago

pawss currently have google auth added it does not working due to some reason debug it also it sends number as 000.. it should not be the case make the number optional in backend for user and also remove the ngo google auth login option ngo must register by filling all the details contrubution.md

codewarnab commented 4 months ago

@aryansharma220 do you want to work on it ( i have updated the issue first read )

aryansharma220 commented 4 months ago

@codewarnab yes sir, I would definitely like to work on this issue

adarsh1001111 commented 4 months ago

@aryansharma220 i have added that firebase auth , but the .env file with configs have to be added to make it work, also we need to send empty("")string but backend doesnt allow it so we have to make some changes there too.

adarsh1001111 commented 4 months ago
Screenshot 2024-05-16 at 5 09 36 PM

u just need to add a file like this,add credentials provided by auth by firebase and export auth from this file and then import if on the signin and signup page.You can tag me if needed further help.Thanks

aryansharma220 commented 4 months ago

@adarsh1001111 ok will ping you if any help needed :)

codewarnab commented 4 months ago

@aryansharma220 i have added that firebase auth , but the .env file with configs have to be added to make it work, also we need to send empty("")string but backend doesnt allow it so we have to make some changes there too.

what to change env ?

codewarnab commented 4 months ago

@aryansharma220 i have added that firebase auth , but the .env file with configs have to be added to make it work, also we need to send empty("")string but backend doesnt allow it so we have to make some changes there too.

what to change env ?

you should have changed the .env.sample :)