cal.com icon indicating copy to clipboard operation
cal.com copied to clipboard

[CAL-2781] Cancelling Access to google account gives Json output

Open JIbil12 opened this issue 2 years ago • 4 comments

Found a bug? Please fill out the sections below. 👍

Issue Summary

For the first time i Login with google, website brings to the step 1 of 5 , while completing this on step 2 connecting to google calendar if i cancel the access " Cal.com wants access to your Google Account " , It brings to an error " https://app.cal.com/api/integrations/googlecalendar/callback?error=access_denied&state=%7B%22returnTo%22:%22https://app.cal.com/apps/installed%22%7D " Showing {"message":"code must be a string"}

A summary of the issue. This needs to be a clear detailed-rich summary.

Steps to Reproduce

  1. Login
  2. Connect to Calendar Pop ups Step 1/5
  3. Choose google calendar and connect
  4. Choose account
  5. If cancel the access error shows up

https://github.com/calcom/cal.com/assets/98404323/22c35115-be86-4625-8b96-a9cdd0a15b61

Any other relevant information. For example, why do you consider this a bug and what did you expect to happen instead?

Actual Results

  • What's happening right now that is different from what is expected

Expected Results

  • This is an ideal result that the system should get after the tests are performed

Technical details

  • Browser version, screen recording, console logs, network requests: You can make a recording with Bird Eats Bug.
  • Node.js version
  • Anything else that you think could be an issue.

Evidence

  • How was this tested? This is quite mandatory in terms of bugs. Providing evidence of your testing with screenshots or/and videos is an amazing way to prove the bug and a troubleshooting chance to find the solution.

CAL-2781

JIbil12 avatar Nov 30 '23 02:11 JIbil12

/attempt

vishalgarje17 avatar Nov 30 '23 05:11 vishalgarje17

@JIbil12 we need both of the permission when connecting google calendar. we are already working on displaying an error message or toast instead of this json error

Udit-takkar avatar Nov 30 '23 06:11 Udit-takkar

@Udit-takkar Hello, can I help you with it in anyway?

Samrj12 avatar Dec 04 '23 02:12 Samrj12

@JIbil12 we need both of the permission when connecting google calendar. we are already working on displaying an error message or toast instead of this json error

joe is already working on this https://github.com/calcom/cal.com/pull/12513

Udit-takkar avatar Dec 04 '23 08:12 Udit-takkar