Tejas1510 / Athavani

😻 Athavani/Memories is a full-stack MERN Tool built in order to save all your memories in a single place and rejoice them through the years.
https://athavani.vercel.app
MIT License
37 stars 113 forks source link

bug fixed post update #324

Closed sanskarbansal closed 3 years ago

sanskarbansal commented 3 years ago

Fixes: #320

User was able to update other user's post earlier (fixed).

welcome[bot] commented 3 years ago

Hello there!πŸ‘‹ Welcome to the project!πŸ’– Thank you and congratsπŸŽ‰ for opening your first pull request. Athavani is a full-stack MERN Tool built in order to save all your memories in a single place and rejoice them through the years. Please make sure you have followed our contributing guidlines .πŸ™ŒπŸ™Œ We will get back to you as soon as we can πŸ˜„.

rushikadivar commented 3 years ago

Hey Sanskar can you explain to me how you did you get all the memories post based on the user, because in my case it doesn't even sign in or sign up so if am not getting in I'll not able to see the memories post.

sanskarbansal commented 3 years ago

@rushikadivar so you are not able to initialise this project on your localhost? Please correct me if i am wrong.

rushikadivar commented 3 years ago

@rushikadivar so you are not able to initialise this project on your localhost? Please correct me if i am wrong.

Exactly, something like that. can I show your .env file because I think the problem should be there in my case.

sanskarbansal commented 3 years ago

@rushikadivar

  1. Obtain OAuth 2.0 credentials (Client_Id & Client_Secrete) from the Google API Console .
  2. Go To OAuthPlayground, Click on settings, Tick "Use your own OAuth credentials".
  3. Paste you client id and client secrete in appropriate boxes.
  4. In "Select & authorize APIs" section type "https://mail.google.com" in "Input your own scopes field" & Click "Authorize APIs"
  5. Click "Exchange authorization code for tokens"
  6. Copy and paste this refresh token in your .env file
  7. Paste Client_id and Client_secrete which you got in Step 1 in your .env file.
  8. I guess that's it. Please let me know if you still face any issue.
rushikadivar commented 3 years ago

Thanks Sanskar, mistake was on refresh token and access token that's why I was facing problems. Thanks for your help

welcome[bot] commented 3 years ago

Hello there!πŸ‘‹ CongratsπŸŽ‰ on getting your first pull request merged! All the best for your amazing open source journey ahead πŸš€.

ChitvanRamani22 commented 3 years ago

@sanskarbansal great work! Thanks for the efforts.