generated by node jsonwebtoken package to embed a grafana panel into my webapp
this is my token payload:
{
"sub": 10,
"userData": {
"email": "[email]",
"group": 1,
"firstname": "Daniel",
"lastname": "[lastname]"
},
"iat": 1731311279,
"exp": 1731314879
}
I've set the following in my grafana.ini:
[security]
allow_embedding = true # Allow embedding
[auth.jwt]
url_login = true # enable JWT authentication in the URL
enabled = true
key_file = /etc/grafana/jwt_pub.key
url_parameter_name = auth_token
email_claim = userData.email
username_claim = userData.email
auto_sign_up = true
however trying to embed a panel only leads me to the login page, any ideas what might be the issue?
auto_login = true
unfortunately, same error (I added it under auth.jwt)
Обсуждают сегодня