Leaving this here incase anyone in the future happens to have this issue.
Had an issue with Xano Auth plugin, when attempting to use it return a 401 Unauthorized Error.
I had no idea what what was causing it and search results were shoddy at best with a multitude of possible errors which was a nightmare for someone using it for the first time. AI was no help either, completely misdiagnosing the problem and leading me down a rabbit hole.
At a quick glance at the Xano Endpoint for login, everything seems fine:
But the issue is small and it’s that the key in the response needs to be “authToken” not “As Self” not just the value as the variable authToken.
Upon making sure the key was “authToken” it worked.
This solution fixed it for me which was so simple in hindsight, ended up going down a massive rabbit hole of issues it could be that lead no where. Hope this helps someone in the future