I am looking to have a user sign into google on my page and access their google calendar events for a specific date range.
I was following the Google Sign-In for Server Side Apps: https://developers.google.com/identity/sign-in/web/server-side-flow
I am able to create the sign-in button and get the one time authorization code from google but I am not able to "Exchange the authorization code for an access token" which I believe is what I need to make api requests from node. They have examples in java and python but not for node unfortunately.
Am I on the right track here?
I have also seen a node google calendar quickstart here: https://developers.google.com/google-apps/calendar/quickstart/nodejs This did return calendar API data but I want the user to sign in first before they can access the api.
via Ryan
No comments:
Post a Comment