Connect google calendar api with account
Hey guys, i want to connect google calendar api, and fetch events to get all meetings i have during some period of time.
Main problem i have right now is which access_token do i need to provide in gapi client? This is my current implementation on initialisation of gapi client where i pass session:
The problem i am getting right now is this one:
message: "Request had invalid authentication credentials. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project."
Main problem i have right now is which access_token do i need to provide in gapi client? This is my current implementation on initialisation of gapi client where i pass session:
The problem i am getting right now is this one:
message: "Request had invalid authentication credentials. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project."