Grafana passing access token in url

て烟熏妆下的殇ゞ 提交于 2019-12-13 13:51:32

问题


I have created an API Key to share grafana panels with third party applications. I want to embed it on an iframe but it asks me to login.

How can I send the access token in the url ?

I've been following: http://self-issued.info/docs/draft-ietf-oauth-v2-bearer.html#query-param

Example

https://server.example.com/resource?access_token=mF_9.B5f-4.1JqM&p=q

Thanks


回答1:


access tokens can only be used with the API, you need to use it in the Authorization HTTP header. It cannot be used in iframe scenarios.



来源:https://stackoverflow.com/questions/33795843/grafana-passing-access-token-in-url

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!