@Lasse you need to check your "Redirect Settings" inside your grafana Application settings (which should be inside your grafana Project) in the Zitadel console. In my case I have a grafana project, which in turn has a grafana PKCE application. You likely forgot to configure a redirect URI which will need to be something akin to https://your.grafana.url/login/generic_oauth