# Integrate the Auth0 with the Google Drive API

**URL:** <https://community.auth0.com/t/integrate-the-auth0-with-the-google-drive-api/66923>\
**Category:** Get Help\
**Tags:** api, login, auth0\
**Created:** [July 28, 2021, 9:32am UTC](https://community.auth0.com/t/integrate-the-auth0-with-the-google-drive-api/66923 "2021-07-28T09:32:21Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![geekhmer](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/geekhmer/32/30791_2.png) [@geekhmer](https://community.auth0.com/u/geekhmer)\
**Post date:** [July 28, 2021, 9:32am UTC](https://community.auth0.com/t/integrate-the-auth0-with-the-google-drive-api/66923/1 "2021-07-28T09:32:21Z")

</div>

Dear All,

I’m thinking of scenarios like the following:

1. The user clicks on the sign up / login button for one of the providers, say Google, on my website.
2. He/she is redirected to Google, and Google asks for the basic scope as well as some additional ones such as ones for Google Drive.
3. He/she clicks on the button to “grant” or something similar.
4. He/she is authenticated. At this point, Auth0 should have his/her access token.
5. My website wants to use the access token to call some of the Google Drive APIs.

Auth0 scenarios ( from 1 to 4 ) are the same as above. After login I received an access token but I can’t use that token with google api ( Error: invalid token ).

Could you please support me? Thanks!

---

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [July 29, 2021, 3:19pm UTC](https://community.auth0.com/t/integrate-the-auth0-with-the-google-drive-api/66923/3 "2021-07-29T15:19:00Z")

</div>

Hi @geekhmer,

Welcome to the Auth0 Community!

You will need the [Identity Provider Access Tokens](https://auth0.com/docs/tokens/identity-provider-access-tokens) to call the API owned by Google. Let me know if you have questions about it.

---

<div class="post-metadata">

**Author:** ![geekhmer](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/geekhmer/32/30791_2.png) [@geekhmer](https://community.auth0.com/u/geekhmer)\
**Post date:** [August 6, 2021, 11:00am UTC](https://community.auth0.com/t/integrate-the-auth0-with-the-google-drive-api/66923/4 "2021-08-06T11:00:59Z")

</div>

Hi @dan.woda ,

Well, You hit the point. Thank you so much for the quick answer.

---

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [August 6, 2021, 4:10pm UTC](https://community.auth0.com/t/integrate-the-auth0-with-the-google-drive-api/66923/5 "2021-08-06T16:10:05Z")

</div>

No problem. Let us know if you have any other questions!

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [August 21, 2021, 4:10pm UTC](https://community.auth0.com/t/integrate-the-auth0-with-the-google-drive-api/66923/6 "2021-08-21T16:10:52Z")

</div>

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.
