# JWT Token support in datasource

**URL:** <https://community.grafana.com/t/jwt-token-support-in-datasource/49586>\
**Category:** Grafana\
**Created:** [June 28, 2021, 6:38am UTC](https://community.grafana.com/t/jwt-token-support-in-datasource/49586 "2021-06-28T06:38:36Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ddramireddy](https://avatars.discourse-cdn.com/v4/letter/d/bc79bd/32.png) [@ddramireddy](https://community.grafana.com/u/ddramireddy)\
**Post date:** [June 28, 2021, 6:38am UTC](https://community.grafana.com/t/jwt-token-support-in-datasource/49586/1 "2021-06-28T06:38:36Z")

</div>

I am planning to use the JSON API plugin([JSON API plugin for Grafana | Grafana Labs](https://grafana.com/grafana/plugins/marcusolsson-json-datasource/)) to call our REST API. Our API works based on JWT token. Initially, we need to call Signin API to get the JWT Token and use that token to call the other API. This token needs to be renewed for every 30 mins.

As per following link, I updated plugin.json and added the routes. However, On restarting grafana, I am getting the error “Failed to start plugin. Plugin file’s signature has been modified versus manifest”. Is it not allowed to update “plugin.json”? If so, what is the alternative to add tokenAuth section?

[https://www.bookstack.cn/read/grafana-v6.2/99ade7a5e84896a8.md](https://www.bookstack.cn/read/grafana-v6.2/99ade7a5e84896a8.md)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/grafana/original/2X/e/ef5308cc58c9e5a13187b5012eb99f406928462f.png) [@system](https://community.grafana.com/u/system)\
**Post date:** [June 28, 2022, 6:39am UTC](https://community.grafana.com/t/jwt-token-support-in-datasource/49586/2 "2022-06-28T06:39:17Z")

</div>

Closed on June 28, 2022, 6:39am UTC

This topic was automatically closed after 365 days. New replies are no longer allowed.
