Hey, I’m looking to allow my app to read/write to google calendar.
I have setup google auth correctly and can login via google.
I am using supabase. Not all users will necessarily signup with google, but I want them to be able to later allow access to their calendar.
However, I’m not sure where to get my google API bearer token?
I thought it will be just available under the authenticated user in weweb.
If anyone has any experience in this sort of integration, I would be keen to hear how you’ve set it up.
I think you’ll need to set up a separate workflow for this, Supabase Auth might not even have the privileges to connect to Google Calendar, as it uses only certain data to “authenticate” the user. Check out Google Documentation for APIs for more clues on how to do this.
You can set the scopes for the oAuth in the Google Cloud Console, but I’m not sure how Google Handles it afterwards. I was just setting it up the other day.