This project has moved and is read-only. For the latest updates, please go here.

Legacy Auth Mechanism trying to integrate with oauth

Dec 2, 2014 at 3:29 PM
Hello all, we've got a legay authentication system (based on forms), that we need to expose through webapi using oauth. Now.... we would really not like to migrate the models to EF, or even touch them if we have the chance. THere are already custom methods that authenticate users and etc.
The question is : How can we integrate that with the OAUTH workflow path?
The only solution I've seen was to implement a new OWIN Authentication Shim.

Is that it or am I missing something?

wouldn't it be possible to create a custom IPrincipal that uses our models as base?? if so could someone point the way?


Thanks alot,
Gabe