In an asp.net MVC 5 project I'm using a katana owin based middlewere to handle the authentication. Inside the Start.cs
file I have the Startup
class with the Configuration
method.
Is there a way to get the full URL of the request inside the Configuration
method? I need to get the last part of it to be stored in a cookie
public void Configuration(IAppBuilder app) {
app.UseCookieAuthentication(new CookieAuthenticationOptions { ... }
// something here to get the full URL
// other authentication code here
}