How can I tell my app to generate redirect URI with host that I provide? (foobar.com)
Context:
I have Server-Side Blazor Web App, generated from from recent (VS 16.7.5) template, with Azure AD (Single tenant, Work and Schools) authentication.
I use
<PackageReference Include="Microsoft.AspNetCore.Authentication.AzureAD.UI" Version="3.1.8" />
I've configured accepted redirected URLs at Az Portal and etc. and I'm able to log in with Azure AD while running my app localy.
The redirect URI is sent in query params while being redirected to Azure AD site and it points to website host which is actualy foobar.azurewebsites.net.
How can I tell my app to generate redirect URI with host that I provide? (foobar.com)
The only solution I've found is relevant for former ASP.NET.
<add key="ida:RedirectUri" value="https://localhost:44326/" />
Which does not work for in my case.

