gpt4 book ai didi

authentication - Grafana 在 url 中传递访问 token

转载 作者:行者123 更新时间:2023-12-04 06:40:55 26 4
gpt4 key购买 nike

我创建了一个 API key 来与第三方应用程序共享 grafana 面板。我想将它嵌入到 iframe 中,但它要求我登录。

如何在 url 中发送访问 token ?

我一直在关注:http://self-issued.info/docs/draft-ietf-oauth-v2-bearer.html#query-param

例子

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

谢谢

最佳答案

访问 token 只能与 API 一起使用,您需要在授权 HTTP header 中使用它。不能用于iframe场景。

关于authentication - Grafana 在 url 中传递访问 token ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/33795843/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com