PasswordReset workflow

I need to reset password by workflow called as UI actio button. I would like to use Identity service for that.

As I went through the analysis of the solution I came accross with ResetPassword method of Identity service, that requires NewPassword, ResetToken and UserName.

In first step of my workflow I use IdentityService method GetPasswordRessetToken for further use in ResetPassword method. But I get an error “One or more error occures.”.

Any advice how to overcome this?

Thank you.

Solution:

  1. there must be in Startup.cs file UserTokenProvider configured
  2. according to @urbanekv advice I rather changed application pool LoadUserProfile property to True

Thank you to @urbanekv for quick help.