Reset password not working

Hi all,

I'm using Michael's Reset Password snippet and have hit a snag.

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

    • Get record from client returns the following error

    • Here's the setup for the function

It seems that I'm unable to access auth.id. It's also occurring on my /auth/me endpoint in the update password api group.

For reference this is my setup in Retool.

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

2 replies