-
What Grafana version and what operating system are you using?
Helm Chart grafana-6.43.0/9.2.1 -
What are you trying to achieve?
Find out if “Forward OAuth Identity” is supposed to work when the user is authenticated via auth.jwt -
How are you trying to achieve it?
-
What happened?
auth.jwt is configured and user is able to login. However, there seems to problems getting the token forwarded to the datasource. The following is present in the logs
logger=oauthtoken t=2022-12-09T12:37:44.638728586Z level=error msg=“failed to get OAuth connector” provider=jwt error=“failed to find oauth provider for "jwt"”
-
What did you expect to happen?
-
Can you copy/paste the configuration(s) that you are having problems with?
auth.jwt:
enabled: true
jwk_set_url: https://DEX_FQDN/dex/keys
role_attribute_path: “contains(groups[*], ‘GrafanaAdmin’) && ‘GrafanaAdmin’ || ‘Viewer’”
url_login: true
auto_sign_up: true
enable_login_token: true
header_name: X-Forwarded-Access-Token
allow_assign_grafana_admin: true
username_claim: “name”