# What do I do with google idp refresh token?

**URL:** <https://community.auth0.com/t/what-do-i-do-with-google-idp-refresh-token/54113>\
**Category:** Get Help\
**Tags:** idp, google, api, refresh-tokens\
**Created:** [December 1, 2020, 3:33am UTC](https://community.auth0.com/t/what-do-i-do-with-google-idp-refresh-token/54113 "2020-12-01T03:33:29Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![patrickcorrigan7](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/patrickcorrigan7/32/8070_2.png) [@patrickcorrigan7](https://community.auth0.com/u/patrickcorrigan7)\
**Post date:** [December 1, 2020, 3:33am UTC](https://community.auth0.com/t/what-do-i-do-with-google-idp-refresh-token/54113/1 "2020-12-01T03:33:29Z")

</div>

I’m authentication with google and requesting offline access. I have the correct permissions, everything is working. I get an access token and a refresh token from the management api which I can use to make requests to the google API. After an hour it seems to expire and when I call then management API the refresh token is gone.

Is it up to me to store the refresh token in my backend and use it to get a new access token?

---

<div class="post-metadata">

**Author:** ![markd](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/markd/32/38919_2.png) [@markd](https://community.auth0.com/u/markd)\
**Post date:** [December 6, 2020, 3:59pm UTC](https://community.auth0.com/t/what-do-i-do-with-google-idp-refresh-token/54113/2 "2020-12-06T15:59:37Z")

</div>

Hi @patrickcorrigan7. Yes, you need to store the refresh token in your back end. You can then present the refresh token to the authz server to request a new access token.

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [December 8, 2020, 9:49am UTC](https://community.auth0.com/t/what-do-i-do-with-google-idp-refresh-token/54113/3 "2020-12-08T09:49:28Z")

</div>

Thanks Mark for helping on this front!

---

<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:** [December 23, 2020, 9:49am UTC](https://community.auth0.com/t/what-do-i-do-with-google-idp-refresh-token/54113/4 "2020-12-23T09:49:30Z")

</div>

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