# Xano login failing despite correct Xano response

**URL:** <https://forum.adalo.com/t/xano-login-failing-despite-correct-xano-response/59433>\
**Category:** Get Help\
**Created:** [November 9, 2025, 6:22pm UTC](https://forum.adalo.com/t/xano-login-failing-despite-correct-xano-response/59433 "2025-11-09T18:22:03Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![Netcontacts](https://avatars.discourse-cdn.com/v4/letter/n/59ef9b/32.png) [@Netcontacts](https://forum.adalo.com/u/Netcontacts)\
**Post date:** [November 9, 2025, 6:22pm UTC](https://forum.adalo.com/t/xano-login-failing-despite-correct-xano-response/59433/1 "2025-11-09T18:22:03Z")

</div>

I built my Adalo app with Xano integration from the beginning and the two work happily together. The exception is Xano login via “Xano login” action. In Xano my auth/login replies with 200 OK and the token, followed by auth/me reply with 200 OK and this body (Postman confirms the same and yes I changed the credentials in this output):

{“id”:5,“name”:“test user",“email”:"[test@gmail.com](mailto:test@gmail.com)”,“created\_at”:1762632586530}

However, the Adalo screen always shows “Login Failed” and I get the same behavior whether using Adalo’s login form or my own. Why does Adalo not like that returned JSON?

---

<div class="post-metadata">

**Author:** ![Daniel1](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/daniel1/32/38276_2.png) [@Daniel1](https://forum.adalo.com/u/Daniel1)\
**Post date:** [November 10, 2025, 1:07pm UTC](https://forum.adalo.com/t/xano-login-failing-despite-correct-xano-response/59433/2 "2025-11-10T13:07:32Z")

</div>

Hey @Netcontacts,

The reason your Adalo login isn’t working isn’t because the JSON is “wrong”, it’s just that Adalo expects the login response to have a very specific format.  
So in Xano:

Make sure your auth/login endpoint returns a token field at the top level. Wrap the user information inside a user object. Once you do that, the Adalo login action should work properly.

If you want, I can give a step-by-step example of how to set up your Xano auth endpoint specifically for Adalo, so it works without errors.

---

<div class="post-metadata">

**Author:** ![Dilon](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/dilon/32/39815_2.png) [@Dilon](https://forum.adalo.com/u/Dilon)\
**Post date:** [November 10, 2025, 2:06pm UTC](https://forum.adalo.com/t/xano-login-failing-despite-correct-xano-response/59433/3 "2025-11-10T14:06:45Z")

</div>

Hi @Netcontacts,

Welcome to the community! 🎉

You’re using the Xano integration right? Xano login action consist this below JSON which only need to input email and password. You’re trying to signup (add new user) a user? :

```auto
{
"email":"{email_input}",
"password":"{password_input}"
}

```

 ![image](https://us1.discourse-cdn.com/flex020/uploads/adalo/original/3X/a/0/a004994b56e21dd917b4c7f0f433ac36284fb776.png)

Check the documentation for more details! : [User Signup, Login, Authentication | Adalo Resources](https://help.adalo.com/integrations/xano-integration/user-signup-login-authentication)

Thank you and have a great day!

---

<div class="post-metadata">

**Author:** ![Netcontacts](https://avatars.discourse-cdn.com/v4/letter/n/59ef9b/32.png) [@Netcontacts](https://forum.adalo.com/u/Netcontacts)\
**Post date:** [November 10, 2025, 5:29pm UTC](https://forum.adalo.com/t/xano-login-failing-despite-correct-xano-response/59433/4 "2025-11-10T17:29:04Z")

</div>

Thank you for your reply! Yes what is interesting is that the auth/login piece works just fine, Xano replies with a token (shown below) and then Adalo automatically follows up with a GET to auth/me (which includes the token) and Xano replies with the user info corresponding with that token. Yes if you can show your Xano auth endpoint I would really appreciate it? I know it’s going to be something simple but I haven’t found it yet. Thank you!

Xano reply to auth/login:

{“authToken”:“eyJhbGciOiJBMjU2S1ciLCJlbmMiOiJBMjU2Q0JDLUhTNTEyIiwiemlwIjoiREVGIn0.-8oMvbUuy7V\_ihOhyFpluVCeqZsWl3R8BDhRe77CJ6EOvoDI22uXya54owuI-3S2A-Y9NiCuMPNbpnbY8ccfzAbIcRoCKL3d.HS8\_U3\_-SU5i50pgyLJ4PQ.HuibJjhOHOdBNOnz2j8lOz\_TlRE-KcStyK7YfjiYhBUXriKhqWF34Bg28svuBnqGjKKC1FFUeaGICySk3qA3yoQifaI4gB8JLI6SO4qh2Y1lvSxM1mY5kx8i3coL8dNMWJQDD0twICpFL8PdKVGi2w.sIMowPxMRIUre0wyD9SSlOTJy0Xj7HLX6QHPHqlnc\_4”}

Xano reply to auth/me:

{“id”:5,“name”:“test user",“email”:"[test@gmail.com](mailto:test@gmail.com)”,“created\_at”:1762632586530}

---

<div class="post-metadata">

**Author:** ![Netcontacts](https://avatars.discourse-cdn.com/v4/letter/n/59ef9b/32.png) [@Netcontacts](https://forum.adalo.com/u/Netcontacts)\
**Post date:** [November 10, 2025, 5:34pm UTC](https://forum.adalo.com/t/xano-login-failing-despite-correct-xano-response/59433/5 "2025-11-10T17:34:00Z")

</div>

Dilon,

Thank you for your reply! Yes I am using the Xano integration, I designated Xano integration right when I first initiated this app in Adalo. The user already exists in the Xano database, Adalo sends a POST to auth/login and Xano successfully replies with a token like this:

{“authToken”:“eyJhbGciOiJBMjU2S1ciLCJlbmMiOiJBMjU2Q0JDLUhTNTEyIiwiemlwIjoiREVGIn0.-8oMvbUuy7V\_ihOhyFpluVCeqZsWl3R8BDhRe77CJ6EOvoDI22uXya54owuI-3S2A-Y9NiCuMPNbpnbY8ccfzAbIcRoCKL3d.HS8\_U3\_-SU5i50pgyLJ4PQ.HuibJjhOHOdBNOnz2j8lOz\_TlRE-KcStyK7YfjiYhBUXriKhqWF34Bg28svuBnqGjKKC1FFUeaGICySk3qA3yoQifaI4gB8JLI6SO4qh2Y1lvSxM1mY5kx8i3coL8dNMWJQDD0twICpFL8PdKVGi2w.sIMowPxMRIUre0wyD9SSlOTJy0Xj7HLX6QHPHqlnc\_4”}

Adalo then sends a GET to auth/me using that token, and Xano successfully replies with the user info that corresponds to that token: {“id”:5,“name”:“test user",“email”:"[test@gmail.com](mailto:test@gmail.com)”,“created\_at”:1762632586530}

But for some reason Adalo does not like that reply from Xano. I’m using the Xano integration which is very straightforward but it seems like something under the hood isn’t working. Please let me know what additional information I can provide, and thank you for your help!

---

<div class="post-metadata">

**Author:** ![Dilon](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/dilon/32/39815_2.png) [@Dilon](https://forum.adalo.com/u/Dilon)\
**Post date:** [November 10, 2025, 6:06pm UTC](https://forum.adalo.com/t/xano-login-failing-despite-correct-xano-response/59433/6 "2025-11-10T18:06:18Z")

</div>

Hi @Netcontacts,

Thanks for the information!

I’m a bit confused of what’s going on as Xano login action works fine for me. Would you be able to share a short screen recording showing your login form, login actions, xano auth endpoints and app preview? You can use [loom.com](http://loom.com).

Let me know!

Thank you and have a great day!

---

<div class="post-metadata">

**Author:** ![Netcontacts](https://avatars.discourse-cdn.com/v4/letter/n/59ef9b/32.png) [@Netcontacts](https://forum.adalo.com/u/Netcontacts)\
**Post date:** [November 10, 2025, 11:57pm UTC](https://forum.adalo.com/t/xano-login-failing-despite-correct-xano-response/59433/7 "2025-11-10T23:57:13Z")

</div>

> [@Dilon](#):
>
> [loom.com](http://loom.com)

Here is that loom recording, thank you so much!

https://www.loom.com/embed/87c2288769f9488395933af12bce43d6

---

<div class="post-metadata">

**Author:** ![Netcontacts](https://avatars.discourse-cdn.com/v4/letter/n/59ef9b/32.png) [@Netcontacts](https://forum.adalo.com/u/Netcontacts)\
**Post date:** [November 10, 2025, 11:57pm UTC](https://forum.adalo.com/t/xano-login-failing-despite-correct-xano-response/59433/8 "2025-11-10T23:57:59Z")

</div>

Daniel1,

Here is a loom recording of what I am seeing, thank you for looking at this!

https://www.loom.com/embed/87c2288769f9488395933af12bce43d6

---

<div class="post-metadata">

**Author:** ![Daniel1](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/daniel1/32/38276_2.png) [@Daniel1](https://forum.adalo.com/u/Daniel1)\
**Post date:** [November 11, 2025, 2:19am UTC](https://forum.adalo.com/t/xano-login-failing-despite-correct-xano-response/59433/9 "2025-11-11T02:19:38Z")

</div>

The issue seems to happen during the `/auth/login` API call to Xano. The request is returning a warning in the API request history, which usually means the login inputs sent from Adalo don’t exactly match what Xano expects, for example, the field names or how the password is being validated in the function stack.

A few things to check:Make sure the **email** and **password** keys in Adalo match the input names in your Xano API endpoint. In Xano, verify that the **“Check Password”** function is using the correct database field and authentication logic. Confirm that Adalo’s API response setup is capturing the **AuthToken** properly (you can test this in the API setup screen).

Once those align, the login flow should work correctly.

If you’re testing from Adalo’s “Test Request” section, try sending raw JSON input using the same field names defined in Xano to see if the response comes back clean. That helps confirm it’s just a mapping mismatch.

---

<div class="post-metadata">

**Author:** ![Dilon](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/dilon/32/39815_2.png) [@Dilon](https://forum.adalo.com/u/Dilon)\
**Post date:** [November 11, 2025, 9:29am UTC](https://forum.adalo.com/t/xano-login-failing-despite-correct-xano-response/59433/10 "2025-11-11T09:29:36Z")

</div>

Hi @Netcontacts,

Thanks for the video as it was very helpful!

Looks like you’re encoding the response, so could you remove that encoding filter from the response \> publish the changes and try again to login in the Adalo app?

 ![xano login failing - Adalo maker](https://us1.discourse-cdn.com/flex020/uploads/adalo/original/3X/1/d/1da1eb4c617df676051d71ae45937c718b203d7d.jpeg)

Thank you and have a great day!

---

<div class="post-metadata">

**Author:** ![Netcontacts](https://avatars.discourse-cdn.com/v4/letter/n/59ef9b/32.png) [@Netcontacts](https://forum.adalo.com/u/Netcontacts)\
**Post date:** [November 11, 2025, 3:41pm UTC](https://forum.adalo.com/t/xano-login-failing-despite-correct-xano-response/59433/11 "2025-11-11T15:41:06Z")

</div>

Dilon,

Good catch - I had added that encoding during troubleshooting, it shouldn’t be there. Unfortunately I still have the same problem after removing it (see new screenshots below including auth/me reply). What info can I provide next? Thank you for your help!

 ![Screenshot 2025-11-11 at 8.37.25 AM](https://us1.discourse-cdn.com/flex020/uploads/adalo/original/3X/0/0/00073eaed3ecf5bb3b6a2a7cc6884bb64d2624dd.png)

 ![Screenshot 2025-11-11 at 8.38.49 AM](https://us1.discourse-cdn.com/flex020/uploads/adalo/original/3X/c/6/c6a3aacfadb454a815d71d0b6818a4c46a042813.png)

---

<div class="post-metadata">

**Author:** ![Netcontacts](https://avatars.discourse-cdn.com/v4/letter/n/59ef9b/32.png) [@Netcontacts](https://forum.adalo.com/u/Netcontacts)\
**Post date:** [November 11, 2025, 5:46pm UTC](https://forum.adalo.com/t/xano-login-failing-despite-correct-xano-response/59433/12 "2025-11-11T17:46:25Z")

</div>

Dilon,

A quick update - I created a new API endpoint in Xano that uses the same user table. Then I created a new app in Adalo using the new API endpoint, and login works just fine. So I will compare the old and new API endpoints and will let you know what I find. Thanks!

---

<div class="post-metadata">

**Author:** ![Dilon](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/dilon/32/39815_2.png) [@Dilon](https://forum.adalo.com/u/Dilon)\
**Post date:** [November 11, 2025, 5:47pm UTC](https://forum.adalo.com/t/xano-login-failing-despite-correct-xano-response/59433/13 "2025-11-11T17:47:13Z")

</div>

Hi Robert,

Thanks for the update!

So it’s the same error still? Have you checked the login endpoint response? (cannot see it in the video)

Thank you and have a great day!

---

<div class="post-metadata">

**Author:** ![Netcontacts](https://avatars.discourse-cdn.com/v4/letter/n/59ef9b/32.png) [@Netcontacts](https://forum.adalo.com/u/Netcontacts)\
**Post date:** [November 11, 2025, 5:53pm UTC](https://forum.adalo.com/t/xano-login-failing-despite-correct-xano-response/59433/14 "2025-11-11T17:53:59Z")

</div>

Dilon,

I can point my main app (the one giving me login problems) to my new API endpoint for login and now login works perfectly! But I will still compare the API endpoints and let you know the difference for your reference. The issue was definitely with the API endpoint somehow.

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/system/32/40401_2.png) [@system](https://forum.adalo.com/u/system)\
**Post date:** [November 21, 2025, 5:54pm UTC](https://forum.adalo.com/t/xano-login-failing-despite-correct-xano-response/59433/15 "2025-11-21T17:54:31Z")

</div>

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.
