Sadly we didn’t, any ideas appreciated. We’re thinking of forking/cloning Grafana so we can have greater integration with our product. Thanks in advance!
as far as I know, auth0 behaves as ADFS (on-prem, AAD seems to behave differently) , ie provide most of the information in id_token directly instead of userinfo.
I just opened https://github.com/grafana/grafana/issues/9947 to deal with this.
Right now, my workaround is a simple python script which serve http, get the Authorization header, decode jwt token and extract the mail from it, then send it as reply. Then just point your grafana api_url to it.