Implementing Google Calendar API integration issues

I’m having trouble getting the Google Calendar API to work properly in my application. When I run my Node.js server, the authorization process isn’t functioning correctly. I expected that clicking the authorization button would trigger the OAuth flow and allow me to create calendar events, but nothing happens when I click it. The HTML page loads fine, but the API calls seem to fail. I’ve set up the credentials and followed the documentation, but I’m still stuck. Has anyone encountered similar problems with Google Calendar API authentication? I’m using the standard OAuth2 flow and trying to create a simple calendar event after authorization. Any suggestions on what might be going wrong would be really helpful.