It is not working with me
Hello , I am trying to see this beautiful application created by you. But somehow when I click on sign in with google than, also give permissions but it is not redirecting. It is just showing me same screen again and again. So far I did follwing steps.
- Exported project
- added api key and client_id
- npm install (ran into python error first time) then second time it worked
- npm start
@dhruv850 Same error here. (npm install didn't work for me either I uninstalled node-sass and installed sass and it worked). I checked the console errors and discovered this is a Cross-Origin-Opener-Policy. Since the project doesn't have a server, the header for COOP cannot be set. Not sure how to fix it.
@hithaaaa I have had similar project working which you can find here - https://dhruv850.github.io/Gmail-Client-React/
@dhruv850 Thanks so much! This project is wonderful, feels like Mr gmail himself! I am getting problems running this code, the request sent to gmail sends a 401 error though my credentials are correct. I have used a similar authentication style before in nodejs and it works. Here's what I've done: Entered my client_id, client_secret, scopes ('https://gmail.googleapis.com') in .env file. Included client_secret in gapi.auth.authorize()
I am not sure if you can help me debug, but what changes should I make in my gmail client configuration for it to work? Thanks!