Reputation: 1061
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
Upvotes: 3
Views: 5225
Reputation: 3404
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.
Upvotes: 1