Error using reset password Snipped with Sendgrid and MagicLink

Reset password not working

Hi everyone,

I'm using Michael's Reset Password snippet and i'm having an issue validating the auth token after the magic link process

What works:

  • Request magic link

  • User receives magic link via sendgrid

  • User clicks magic link and is taken to the reset password page

  • AuthToken is retrieved from magic token successfully

What doesn't work:

  • /update-password endpoint

    • The endpoint returns the following error

    The Auth Token is the one that is retrieved from magic token but looks like this is not working anymore. I tried creating a new update password from scratch and I'm getting the same error. The point here is if I use the Auth Token provided by default the endpoint works

Configuration:

Has anyone else encountered a problem like this? Any ideas on how to solve it?

1
3 replies