views:

910

answers:

3

I have a ASP.Net 2.0 website that is currently using a custom MembershipProvider and the standard login control. I would like to replace the login control with the one from DotNetOpenId.

I override the ValidateUser which checks the username and password, but I shouldn't need to implement this when using OpenId.

Is it possible to use OpenId and still have the membership provider available to me to so that I can still use it to access the current logged in user?

Or is it the case the there is need for the using provider model anymore?

+5  A: 

There is no inbuilt provider available. But you can always implement your own provider.

Or you can check out this one available in codePlex.

Vijesh VP
+2  A: 

This is the premier .NET OpenID library, by Andrew Arnott, MSFT employee: http://code.google.com/p/dotnetopenid/

Not sure about integration with Membership.

andrewbadera
+4  A: 

One web project template found at http://code.google.com/p/dotnet-membership-provider/ has a sample membership provider class that works with dotnetopenid, although you should probably do a review of it before using it in production... the last time I checked the source code it needed a bit of work.

Andrew Arnott
Vote for a better membership provider interface that works with OpenID: http://aspnet.uservoice.com/forums/41199-general/suggestions/486926-new-membership-provider-interface-supporting-redir
Andrew Arnott