WCSF Authentication with WCF Web Service

Topics: Web Client Software Factory
Nov 19, 2007 at 10:28 AM

I'm developing a Web Application using the Web Client Software factory and it all works great exept for one thing.
I'm using a webservice for all database access scince the database won't be on the same server as the Web App,
the problem i'm getting is to get the forms authentication to use the Web Service instead of a local database to
authenticate the user.
Anyone got any suggestions on how to make this work?

// Patrik Hedman
Nov 19, 2007 at 11:19 AM
Great question.. I've been trying to accomplish the very same thing for some time now.
No luck though.

// LMS
Nov 19, 2007 at 4:41 PM
Can't you just do something like this in the config
<authentication mode="Forms"/>

and then call your web service in teh Login.aspx page?

Nov 20, 2007 at 3:29 PM
You can use Forms authentication and create your own MembershipProvider / RoleProvider to communicate with the webservice rather than a database.
Nov 21, 2007 at 10:08 AM
Thanks for the reply's.
Creating my own Membership/Role Provider actually make a lot of sense, I'll definetly try that out.

// Patrik
Nov 28, 2007 at 8:42 AM
Extending the Membership Provider works like a charm, thanks mate.

// Patrik