# How to refrsh the access token provided by google

**URL:** <https://community.auth0.com/t/how-to-refrsh-the-access-token-provided-by-google/108286>\
**Category:** Get Help\
**Tags:** users, management-api\
**Created:** [June 1, 2023, 7:44am UTC](https://community.auth0.com/t/how-to-refrsh-the-access-token-provided-by-google/108286 "2023-06-01T07:44:08Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![kamalsingh200238](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/kamalsingh200238/32/47688_2.png) [@kamalsingh200238](https://community.auth0.com/u/kamalsingh200238)\
**Post date:** [June 1, 2023, 7:44am UTC](https://community.auth0.com/t/how-to-refrsh-the-access-token-provided-by-google/108286/1 "2023-06-01T07:44:08Z")

</div>

# What do I want to achieve?

- First I authenticate the user using Google OAuth and get their calendar events
- But After 1 hour, the access token provided by Google expires and I cannot get the calendar events anymore.

## So my question is How do I refresh the access token provided by Google.

---

<div class="post-metadata">

**Author:** ![dawid.matuszczyk](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dawid.matuszczyk/32/74550_2.png) [@dawid.matuszczyk](https://community.auth0.com/u/dawid.matuszczyk)\
**Post date:** [June 2, 2023, 1:23pm UTC](https://community.auth0.com/t/how-to-refrsh-the-access-token-provided-by-google/108286/3 "2023-06-02T13:23:17Z")

</div>

Hi @kamalsingh200238

Welcome to the Auth0 Community!

Based on your description, you would like to refresh the access token provided by Google. For that use, you will need to revoke your access token with a refresh token that is provided to you with the access token.

Our Devrel team prepared an extensive overview of the Refresh tokens and the process of revoking inactive access tokens. You can find it [here](https://auth0.com/blog/refresh-tokens-what-are-they-and-when-to-use-them/). Remember that the article has been created by refreshing Auth0 tokens, but the procedure should be the same (OAuth2).

I’m also leaving the link to the Google documentation about authentication and different scenarios.

> **[Using OAuth 2.0 to Access Google APIs  |  Authorization...](https://developers.google.com/identity/protocols/oauth2?hl=en)**

---

<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:** [June 16, 2023, 1:23pm UTC](https://community.auth0.com/t/how-to-refrsh-the-access-token-provided-by-google/108286/4 "2023-06-16T13:23:40Z")

</div>

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