parkerrexP
Convex Communityโ€ข3y agoโ€ข
4 replies
parkerrex

Authorizing Google Calendar w/ Clerk & Convex

Hey all -- I cloned the convex/clerk starter and am participating in the @Web Dev Cody hackathon.

I'm trying to let my users view their google calendar events on a screen. I've added the correct scopes to the custom clerk Google auth provider (https://www.googleapis.com/auth/calendar) as well as set up the correct oauth in Google cloud console.

When I set up a route handler to get the google token, and then pass it into the client component to get the calendar events i continue to get auth errors.

Is there something I'm missing? Is there documentation somewhere that better explains how to set this up? I should set it up as a private procedure right? Any help is much appreciated ๐Ÿ™‚
image.png
Was this page helpful?