How are OwinContext.Request.Path and PathBase populated?
问题 I'm writing my own OWIN middleware for OpenID Connect authorization code flow, based on other examples in the Katana Project. As part of this I have to construct a couple of URIs, eg a Redirect URI and a Return URL. Other examples in Katana do this by concatenating parts from the current request, for example in CookieAuthenticationHandler loginUri = Request.Scheme + Uri.SchemeDelimiter + Request.Host + Request.PathBase + Options.LoginPath + new QueryString(Options.ReturnUrlParameter,