Auto generated `reset_password_with_token` not loading user
Hi everyone!
I’m trying to expose the auto-generated
Here’s my setup (auto generated):
GraphQL block:
I am calling the API like so:
I also tried without the identity block and passing the token in headers - no luck. Shouldn’t the token automatically load the user? Or am I missing a step? Would really appreciate help from anyone who’s done this before!
I’m trying to expose the auto-generated
reset_password_with_token action via Ash GraphQL, but I keep getting a not_found error no matter what I try.Here’s my setup (auto generated):
GraphQL block:
I am calling the API like so:
I also tried without the identity block and passing the token in headers - no luck. Shouldn’t the token automatically load the user? Or am I missing a step? Would really appreciate help from anyone who’s done this before!
Solution
seems like:
is the issue
after switching it to 
is the issue
authorize_if always() it works now. I wonder how can I prevent users from reading the info of other users? 