I want to load CookieDomain and set the external providers based on values from database, but it seems like HttpContext.Current.Request.Url.Host is not yet set when Startup is calling ConfigureAuth(app); (value is always 127.0.0.1)
How can I get the current host name to be available at Startup?
So, for example, if I have Web1.com, Web2.com ... all bound to the same web application, I want ConfigureAuth to use values that are specific to that host name (CookieDomain, CookieName, facebookAuthOptions.AppId, facebookAuthOptions.AppSecret etc...)