lancemccluskey
lancemccluskey
> I think the issue was more about guides / best practices on development for nodejs.dev site but I could be mistaken. I couldve misunderstood too. I thought it was...
Initially, I thought adding it as a GitHub secret would work. I realized it would still expose the api key tho because we’re making the call from the client side....
Expanding upon my idea, im thinking steps could be: 1. Create a firestore database holding the API key 2. Write a firebase function calling the Google calendar API and returning...
If we utilize a firebase function, then it doesnt matter what the API key has access to
@mhdawson Thats a good point. Youre right, we only need read permissions. Since the calendar is already public, I wonder if theres a way to get the events without an...
Eureka!! @mhdawson I found this https://developers.google.com/calendar/api/v3/reference/events/list, and it says authentication optional. Since we only care about reading the events I think this is def the way we should go. I'll...
Ok I think most of us misunderstood before, the API Key ONLY lets us use the endpoints that dont require authorization. The Google Calendar endpoints require OAuth2 authorization to make...
Yeah it does. I just don’t know how we’d do that
I am getting this error too. I was able to fix it by adding `typeof window === 'undefined' to the conditional expression with writeHead. Now it looks like this: ```...