简体   繁体   English

Grafana OAuth 使用 WSO2 进行身份验证

[英]Grafana OAuth Authentication with WSO2

I use WSO2 as an identity server to log in / log out of an application.我使用 WSO2 作为身份服务器来登录/注销应用程序。 To analyze some data, I want to use Grafana's dashboards.为了分析一些数据,我想使用 Grafana 的仪表板。

I want to perform OAuth Authentication on grafana using WSO2.我想使用 WSO2 在 grafana 上执行 OAuth 身份验证。 I want to access Grafana using the WSO2 user credentials which I also use to access my application.我想使用 WSO2 用户凭据访问 Grafana,我也使用它来访问我的应用程序。

Is it possible?可能吗?

Grafana uses the standard openid connect approch. Grafana 使用标准的 openid 连接方法。 So you can easily connect Grafana with OAuth/OpenID connect inbound protocol.因此,您可以使用 OAuth/OpenID 连接入站协议轻松连接 Grafana。 You can create a OpenID connect App is WSO2 Identity Server side and get client id and secrets and configure them in Grafana side.您可以创建一个 OpenID 连接应用程序是 WSO2 身份服务器端并获取客户端 ID 和机密并在 Grafana 端配置它们。 So you can login to Grafana using WSo2 Identity Server side.因此,您可以使用 WSo2 身份服务器端登录 Grafana。

Refer: https://is.docs.wso2.com/en/latest/learn/configuring-oauth2-openid-connect-single-sign-on/参考: https://is.docs.wso2.com/en/latest/learn/configuring-oauth2-openid-connect-single-sign-on/

You can find WSO2 Identity Server openID connect endpoints from the discovery endpoint: https://is.docs.wso2.com/en/latest/learn/openid-connect-discovery/#openid-connect-discovery您可以从发现端点找到 WSO2 身份服务器 openID 连接端点: https://is.docs.wso2.com/en/latestid/open-connectidy-discovery-discovery-discovery

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM