# How to refresh google token

**URL:** <https://devforum.okta.com/t/how-to-refresh-google-token/30608>\
**Category:** OAuth/OIDC\
**Tags:** api, spring, java, idp\
**Created:** [September 17, 2024, 6:15pm UTC](https://devforum.okta.com/t/how-to-refresh-google-token/30608 "2024-09-17T18:15:59Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![vinaythepreast1](https://avatars.discourse-cdn.com/v4/letter/v/bc8723/32.png) [@vinaythepreast1](https://devforum.okta.com/u/vinaythepreast1)\
**Post date:** [September 17, 2024, 6:15pm UTC](https://devforum.okta.com/t/how-to-refresh-google-token/30608/1 "2024-09-17T18:15:59Z")

</div>

Hi , I have implemented google as an external idenetity provider in okta . And i am able to get both okta and google token. But my google token expires in every 1 hour how to make this seamless since okta does not provide google refresh token.my application uses google drive api.

---

<div class="post-metadata">

**Author:** ![vinaythepreast1](https://avatars.discourse-cdn.com/v4/letter/v/bc8723/32.png) [@vinaythepreast1](https://devforum.okta.com/u/vinaythepreast1)\
**Post date:** [September 25, 2024, 6:14pm UTC](https://devforum.okta.com/t/how-to-refresh-google-token/30608/2 "2024-09-25T18:14:16Z")

</div>

I have resolved this message me if anyone needs help

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/oktadev/original/1X/589c4c5f80de422d01f47cee7185a7fb8227835c.png) [@system](https://devforum.okta.com/u/system)\
**Post date:** [September 26, 2024, 6:14pm UTC](https://devforum.okta.com/t/how-to-refresh-google-token/30608/3 "2024-09-26T18:14:26Z")

</div>

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