Click here to Skip to main content
15,886,422 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi,
I am using Aspnet identity the token based owin authentication in web api.
It store password in password hash which cannot be decrypted. I want password it in autologin functionality. but it is in passwordhash. How i get passward in plaintext.

Thanks.

What I have tried:

tried so much time but i didnt find any solution............
Posted
Updated 20-Mar-18 5:52am

You can't, and you don't need to.

There are very few situations where you would ever need to know the plain-text password - primarily if you're using it to authenticate to a third-party system.

For 99% of applications, you never need to know the plain-text version of the stored password.
 
Share this answer
 
You don't, that's the whole idea.
Hashes are deliberately non-reversible, that's the whole point - nobody stores the password in a format that can be stolen.
You use the hashed value - you can store that and use it for your autologin.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900