Ikechi Michael
1 min readAug 19, 2019

--

Hello Deji.

Thanks for writing this article. This approach works really well for resetting passwords.

I learnt a technique from working with ASPNET Identity code, a while back.

Identity savee a SecurityStamp column in the users table, which will be set to a random Guid.

This SecurityStamp is then used as the secret for creating and validating tokens.

When this SecurityStamp is changed, all previously created tokens will no longer be validated.

The SecurityStamp value is changed after a password reset, among other reasons.

I hope this is helpful.

--

--

Ikechi Michael
Ikechi Michael

Written by Ikechi Michael

I’ve learned I don’t know anything. I've also learned that people will pay for what I know. Maybe that's why they never pay.

No responses yet