Authentication Grafana登录成功,但未登录

Authentication Grafana登录成功,但未登录,authentication,grafana,Authentication,Grafana,Grafana id密码正确,但我无法登录。我分享截图 日志: lvl=info msg=“成功登录”logger=http.server用户=admin@localhost, lvl=info msg=“请求完成”logger=context userId=0 orgId=0 uname=method=GET path=/status=302 remote\u addr=x.x.x time\u ms=22 size=29 referer= lvl=info msg=“请求完成”logger=

Grafana id密码正确,但我无法登录。我分享截图

日志:

lvl=info msg=“成功登录”logger=http.server用户=admin@localhost,

lvl=info msg=“请求完成”logger=context userId=0 orgId=0 uname=method=GET path=/status=302 remote\u addr=x.x.x time\u ms=22 size=29 referer=

lvl=info msg=“请求完成”logger=context userId=0 orgId=0 uname=method=GET path=/status=302 remote\u addr=x.x.x time\u ms=0 size=29 referer=http://x.x.x.x:3000/login


听起来你的Grafana无法为你的登录创建任何安全cookie。 请检查您的浏览器是否拒绝任何cookie管理

否则,您是否对./grafana/grafana/conf中的配置文件进行了任何更改? 您应该有sample.ini和defaults.ini。在某些情况下,您还有第三个.ini文件,名为e。Gcustom.ini。 请检查以下行是否正确

# set cookie SameSite attribute. defaults to `lax`. can be set to "lax", "strict", "none" and "disabled"
cookie_samesite = strict

未设置为“无”或已禁用。

听起来您的Grafana无法为您的登录创建任何安全cookie。 请检查您的浏览器是否拒绝任何cookie管理

否则,您是否对./grafana/grafana/conf中的配置文件进行了任何更改? 您应该有sample.ini和defaults.ini。在某些情况下,您还有第三个.ini文件,名为e。Gcustom.ini。 请检查以下行是否正确

# set cookie SameSite attribute. defaults to `lax`. can be set to "lax", "strict", "none" and "disabled"
cookie_samesite = strict

未设置为“无”或已禁用。

存在相同的问题。它仅在作为
iframe
嵌入时发生。尝试了Github中的所有建议-没有真正起作用。唯一有效的方法是启用
auth.anonymous
。。但这并不是一个好的解决方案。我也有同样的问题。它仅在作为
iframe
嵌入时发生。尝试了Github中的所有建议-没有真正起作用。唯一有效的方法是启用
auth.anonymous
。。但这不是一个好的解决方案。