Grafana Redirect to OAuth service

I set up my Azure OAuth on both my server and my local machine,

on my local machine https://community.grafana.com/login/azuread redirect to
https://login.microsoftonline.com/<token>/oauth2/v2.0/authorize

on my server https://my-company-grafana.com/login/azuread redirect to
https://my-company-grafana.com/<token>/oauth2/v2.0/authorize

I can’t find out why it doesn’t redirect to azure

EDIT: I just found that my IIS that I use as a reverse proxy for my Grafana don’t forward the 302 to the client