Open Closed

Reset password - Invalid token #744


User avatar
0
vu.nguyen created

ABP Framework version: v3.2.1 UI type: MVC DB provider: EF Core Tiered : yes

I config EmailSender and it could send reset password email properly. But when I go to the reset password link, then enter new password and confirm password, it always says "Invalid Token". Can you please show me how to sort it out? Thank you.


5 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi @vu.nguyen

    • ABP Framework version: vX.X.X
    • UI type: Angular / MVC
    • DB provider: EF Core / MongoDB
    • Tiered (MVC) or Identity Server Seperated (Angular): yes / no
  • User Avatar
    0
    vu.nguyen created

    Hi @maliming. I just updated the info. Thanks

  • User Avatar
    0
    vu.nguyen created

    Hi @maliming, I just check again and see It's my fault. Actually the email was sent from Visual debug mode, but then I reset on deployment environment. I am gonna close the topic now.

  • User Avatar
    0
    alexander.nikonov created

    I have the same kind of problem in my solution running on ABP 4.3.0 now: "VerifyUserTokenAsync() failed with purpose: ResetPassword for user."

    I test everything on localhost in VS debug mode. As far as I remember, it used to work in the ABP 3.x.x. Any ideas, suggestions?

    On other hand, ResetPassword works OK in test generated 4.3.0 solution on default tenant. So I cannot figure out what could be wrong...

    What I have noticed is that ResetToken is a bit shorter in Test app...

    Just in case if it matters: I have custom ProfileAppService.

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi alexander.nikonov

    Please create a new question. Thanks.

Made with ❤️ on ABP v9.1.0-preview. Updated on November 11, 2024, 11:11