✅ ASP.NET Core Environment Variables: missing Parameter "clientSecret" for EntraId
I want to authenticate Users with EntraId & call Downstream-APIs
However, I struggle to get my Environment Variables & Secrets working
Because this is running in a Container I use Environment Variables.
This works fine:
The Compose Secret is in the correct Path in the Container and i add it to config with:
But i have no idea how to get Auth to work. I have a workaround for the Config that works:
The secret however is not recognized. This error occurs on Request:
However, I struggle to get my Environment Variables & Secrets working
Because this is running in a Container I use Environment Variables.
This works fine:
The Compose Secret is in the correct Path in the Container and i add it to config with:
But i have no idea how to get Auth to work. I have a workaround for the Config that works:
The secret however is not recognized. This error occurs on Request:

