Mohseen Jamal

Mohseen Jamal

  • NA
  • 18
  • 9.6k

How to reduce length of password reset link MVC5

Oct 21 2014 8:37 PM
I am using this method to generate a password reset link. Everything works great but the callback URL has a huge token. I was asked if there was a way to reduce the length of URL. 
As this is a framework generated code, i could not do much. 
You can find this implementation in any MVC 5 template by default.

await UserManager.GeneratePasswordResetTokenAsync() 


Please share your opinions if there is any way to achieve this using still the same method.


Thanks in advance for your time and effort.