Hi
I’m going thru the tickets tutorial. I am using the Xano Snipit from WeWeb
When setting up the user authentication, the first two steps, Get authentication Token and Store token test successfully. However I get the 401 error when tring to retrieve the user. (jane@email.com)
Can someone point me where i should be looking for this error?
Thanks
J
Hi @clone337
Ok, I just tried in one of my projects and everything works fine so it’s probably not a bug.
Can you check a couple of things?
1- in your “store token” action, are you binding to the result from the previous action?
2- in your plugin configuration, did you update the “User endpoint” with the endpoint from your own Xano project?
Hi @clone337
If you look at my first screenshot, you’ll notice that I bound to authToken
and the current value only shows the auth token value:
In your screenshot, I can see you bound to the result
, not the authToken
inside the result, so the current value is authToken: "eykj..."
and Xano doesn’t understand what you are asking for because it expects the access token on its own, not the object that contains the access token.
Does that make sense?
Joyce, it makes sense now, I’m good.
Thank you for your patience!