Xano: Auth token received but not set?

Has anyone seen a situation where the Xano login works via testing the endpoint in Xano, works on weweb in preview as the authentication token is received but then not set in Xano with plugin?

I’ll share a screenshot later, it’s super weird.

This only started occurring when I added a role to the extras but when I removed this it’s still broken.

T

Looks like this issue is really this:
responseText: "{"code":"ERROR_CODE_UNAUTHORIZED","message":"This token belongs to a different object type."}"

Sharing for anyone that needs this – The issue is XANO’s authentication being in a weird state:

It has to be set. Typically this is to user auth:

1 Like

Hi Toby, thanks for sharing your resolution process!

Did you end up solving it?

Yes - See my previous answer. XANO can create endpoints with a null on authorization despite it requiring the authorization. Once this was moved to users auth, the problem stopped.

1 Like