The new MVC4 RTM internet application templates use the SimpleMembership providers as descibed here SimpleMembership
My existing MVC website uses the ASP.Membership framework and ideally I would like to migrate the user data in these tables to the new SimpleMembership tables. My reasons for wanting to do this are:
- Cleaner integration with the rest of the my database which uses EF
- Support for Azure and OAuth out of the box
- Use latest MVC4 RTM Controllers/Views without needing to modify
- I've always felt the existing membership implementation was a little bloated for what I needed
So I wrote a SQL script today to migrate the data in the existing ASP.Net Membership tables into the new Simple Membership tables. This can be found here
Testing the login in my MVC 4 website the password verification is failing. I believe the SimpleMembership uses a different password algo than the old Membership framework as new passwords created under the SimpleMemberShip framework look a lot longer.
So my question is since I was using the "hashed" password format in the old ASP.Net membership providers and the users original password is irretrievable, what options do I have to get the SimpleMembership provider working.
I guessing some options are:
- Get my users to reset their passwords
- Getting the SimpleMembership provider to use the same password algo as the old ASP.Net Membership providers.
- Revert the new MVC 4 RTM internet application templates to use the old ASP.Net MemberShip providers. This is the least desirable options for me as I would like to use the SimpleMemberShip framework.
I would suspect many people are also looking to migrate their existing membership databases to the new SimpleMemberShip provider.
Any help greatly appreciated.
Cheers
Jim