✅ Malformed input: 321 is an invalid input length
I'm working with Asp.Net Core Identity. I use
How can I fix my problem?
GeneratePasswordResetTokenAsync(user) to generate token and encode it with WebEncoders.Base64UrlEncode(Encoding.UTF8.GetBytes(token));. Next I decode encoded token with Encoding.UTF8.GetString(WebEncoders.Base64UrlDecode(encodedToken)) and get exception:How can I fix my problem?