tpower
tpower

Reputation: 56896

Can I use OpenId with the ASP MembershipProvider?

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?

Upvotes: 11

Views: 2101

Answers (3)

Andrew Arnott
Andrew Arnott

Reputation: 81801

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.

Upvotes: 4

andrewbadera
andrewbadera

Reputation: 1362

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

Not sure about integration with Membership.

Upvotes: 3

Vijesh VP
Vijesh VP

Reputation: 4540

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

Or you can check out this one available in codePlex.

Upvotes: 6

Related Questions