I'm currently investigating an elegant solution to this problem, but I wanted to get this question out here in order to get any advice/suggestions/answers to this problem.
I am working with an authentication system (forms authentication) that the client uses for authentication.
Current Steps:
- Redirect to URL for forms authentication.
- Enter Username/Password
- Get back form data. Specifically: Context.Request.Form["Token"]
I am able to perform all of these steps. I am trying to think of the right path to get the middleware to take care of this problem. I'm currently wondering if I could simply use the Microsoft.AspNet.Authentication.Cookies to solve this problem. With this approach, I would implement my own ICookieManager to look at the Form data.
Advice/Suggestions/Answers?
Thank you in advance!