# Infinity Plugin

**URL:** <https://community.grafana.com/t/infinity-plugin/83281>\
**Category:** Authentication\
**Created:** [March 7, 2023, 7:53am UTC](https://community.grafana.com/t/infinity-plugin/83281 "2023-03-07T07:53:48Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![kalyanganjiinfo](https://avatars.discourse-cdn.com/v4/letter/k/77aa72/32.png) [@kalyanganjiinfo](https://community.grafana.com/u/kalyanganjiinfo)\
**Post date:** [March 7, 2023, 7:53am UTC](https://community.grafana.com/t/infinity-plugin/83281/1 "2023-03-07T07:53:48Z")

</div>

How can i configure infinity plugin in grafana with OAuth to view the json which is in gcloud storage bucket. I tried with access token, but it is expiring after 1 hr, is there any way to refresh the token?

---

<div class="post-metadata">

**Author:** ![yosiasz](https://sea2.discourse-cdn.com/grafana/user_avatar/community.grafana.com/yosiasz/32/45847_2.png) [@yosiasz](https://community.grafana.com/u/yosiasz)\
**Post date:** [March 7, 2023, 3:09pm UTC](https://community.grafana.com/t/infinity-plugin/83281/2 "2023-03-07T15:09:05Z")

</div>

welcome

There is a way of refreshing it but it is an anti pattern. Looks like refreshing token is on the roadmap for next version:

> <https://github.com/yesoreyeram/grafana-infinity-datasource/issues/530>
>
> \## version 2.0
> 
> \- \[\] token refresh authentication
> \- \[\] pagination of result…s
> \- \[\] prom/loki agent
> \- \[\] local timeshift
> \- \[\] move backend experimental features out of beta
> \- \[\] backend transformations
> 
> \## No milestone
> 
> \- \[\] Join results from multiple APIs

Also this might help

> **[Grafana Infinity Datasource](https://sriramajeyam.com/grafana-infinity-datasource/wiki/authentication/)**
>
> Do infinite things with Grafana. Turn any website into beautiful grafana dashboards. Supports HTML, CSV, JSON, XML & GraphQL documents.

if not you can peruse and post that question here

> **[Issues · yesoreyeram/grafana-infinity-datasource](https://github.com/yesoreyeram/grafana-infinity-datasource/issues)**
>
> CSV, JSON, GraphQL, XML and HTML datasource for grafana. - Issues · yesoreyeram/grafana-infinity-datasource
