Log grafana in through tsidp as a full admin #225
Loading…
Reference in a new issue
No description provided.
Delete branch "wiring-guru/grafana-oidc-role-refs"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
tsidp supplies no role claim, so the role comes from a static JMESPath literal:
GrafanaAdmin, with allow_assign_grafana_admin so Grafana syncs the server admin
role instead of downgrading it to org admin. role_attribute_strict stays on, so a
token the expression cannot resolve still fails closed rather than silently
falling back to auto_assign_org_role.
Grafana's ini loader unescapes one level of quotes, so the literal has to reach it
double-quoted: a bare 'GrafanaAdmin' would arrive as GrafanaAdmin, a JMESPath field
lookup that returns nothing and turns every login into "IdP did not return a role
attribute". Checked against grafana 13.1.1, the version chart 12.8.0 deploys.
20a25c67a3toec4b5770fb