# Calling Google Calender API from Server-Side Application

**URL:** <https://community.auth0.com/t/calling-google-calender-api-from-server-side-application/25124>\
**Category:** Get Help\
**Created:** [May 11, 2019, 7:15am UTC](https://community.auth0.com/t/calling-google-calender-api-from-server-side-application/25124 "2019-05-11T07:15:04Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![samturner](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/samturner/32/13145_2.png) [@samturner](https://community.auth0.com/u/samturner)\
**Post date:** [May 11, 2019, 7:15am UTC](https://community.auth0.com/t/calling-google-calender-api-from-server-side-application/25124/1 "2019-05-11T07:15:05Z")

</div>

I’m building an application that relies on being able to call the Google Calendar API from my backend.

Currently, I have my front end set up with Auth0 so that I can create accounts and link Google accounts. I’ve got my backend up and running so that I can read JWTs from the front end and get full user profile information. In the user profile, I’m able to see my user’s identities for their Google account which have an access\_token.

I can’t for the life of me figure out how to get this to work on my backend with the Google OAuth client. My question is: How do I use my Google identity’s access\_token to retrieve a users calendar information with my backend? Can anyone point me in the right direction?

I’m not clear what is the responsibility of Auth0 and what isn’t. Should I be requesting and storing refresh tokens in my database and then using that to create a valid Google OAuth client?

Thanks for the help!

---

<div class="post-metadata">

**Author:** ![JasonAtallah](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/jasonatallah/32/15536_2.png) [@JasonAtallah](https://community.auth0.com/u/JasonAtallah)\
**Post date:** [August 20, 2019, 5:48am UTC](https://community.auth0.com/t/calling-google-calender-api-from-server-side-application/25124/2 "2019-08-20T05:48:33Z")

</div>

I’m having the same issue. Did you find a solution?

---

<div class="post-metadata">

**Author:** ![oakypokey](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/oakypokey/32/20617_2.png) [@oakypokey](https://community.auth0.com/u/oakypokey)\
**Post date:** [April 19, 2020, 4:21pm UTC](https://community.auth0.com/t/calling-google-calender-api-from-server-side-application/25124/3 "2020-04-19T16:21:14Z")

</div>

I am also running into the same issue. Have there been any developments?

---

<div class="post-metadata">

**Author:** ![thameera](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/thameera/32/13430_2.png) [@thameera](https://community.auth0.com/u/thameera)\
**Post date:** [April 20, 2020, 1:51am UTC](https://community.auth0.com/t/calling-google-calender-api-from-server-side-application/25124/4 "2020-04-20T01:51:31Z")

</div>

What exactly is the issue you are facing? Have you already checked out this document? [Call an Identity Provider API](https://auth0.com/docs/connections/calling-an-external-idp-api)

Are you having the problem when retrieving the Google access token from Auth0, or when using that token to call the Google APIs? In either case, are you getting any error message?

---

<div class="post-metadata">

**Author:** ![tjmierzwa](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/tjmierzwa/32/22702_2.png) [@tjmierzwa](https://community.auth0.com/u/tjmierzwa)\
**Post date:** [July 22, 2020, 2:45pm UTC](https://community.auth0.com/t/calling-google-calender-api-from-server-side-application/25124/5 "2020-07-22T14:45:18Z")

</div>

I’m running into the same issue now. Has anyone found a solution?
