grafana - login.OAuthLogin(missing saved state) - 带有 OKTA 集成的 grafana 社区版
问题描述
我正在尝试使用 Okta 集成配置社区版 Grafana(官方 docker 映像)。
完成 Okta 配置后,Okta 对请求进行身份验证并将请求重定向到我托管它的 grafana,但是,它显示以下错误:
login.OAuthLogin(missing saved state)
我没有使用任何数据库来存储会话。我只想将其保存在本地文件中。
请建议。
解决方案
I had the same problem, which had to do with the 'email' attribute not being available to Grafana.
- Make sure that 'api_url' contains 'email'.
- In Grafana OAuth config, set the following:
- email_attribute_path
- email_attribute_name
Example:
[auth.generic_oauth]
email_attribute_path=email
email_attribute_name=email
Example Grafana Configuration containing these properties can be found here: https://github.com/grafana/grafana/blob/v6.4.0/conf/sample.ini
推荐阅读
- google-app-engine - Google AppEngine BlobstoreService 返回 500 错误
- jquery-ui - 从重新排序的 DataTables.js 行中捕获列值
- ruby-on-rails - 部署到 Heroku 时出现 aws 密钥错误 - ruby on rails
- java - 为什么我在硒中出现数据提供者不匹配错误?
- firebase - 是否可以匹配存储在 Firebase 中的图像中的人脸?
- python - 如何使用 PyTorch 仅对矩阵的上三角元素进行 softmax?
- spring-boot - 定向到 Tomcat Catalina.out 日志的 Spring Boot 日志
- r - 如何创建多折线图
- python - Dockerfile:使用带有 pip install -U pip 的 RUN 语句
- c++ - “未定义对‘CreateStreamOnHGlobal@12’的引用”执行gdiplus c++代码时遇到的错误