I'm trying to wrap up a custom authentication system for internal use for a project I'm working on in MVC.
We currently have a partner that hosts an external site with forms authentication. Certain sections of this site redirect to a section on our internal site. Passed along with this redirection is an id and a session id. They provide a web service that we can then verify that this user is authenticated on the original site.
Is there a way to wrap this up into some sort of custom provider or authentication attribute in ASP.net? I would prefer to create something reusable to share with others working in my same environment.
Thanks!
EDIT The method of authentication is not something I'm looking to change. I'm just looking for the best way to wrap this up so it's reusable internally. I was initially thinking a custom membership provider, but it's not really a username/password type situation.