Xano Auth - Email Parameter

I’m having an issue with Auth on Xano. Pretty new to weweb but can code and have extensive experience with Bubble for whatever that might mean.

When I use the pre-defined login Xano workflow and bind the email and password to my input fields (have tried saving them to variables too), I am getting a 400 error with “Missing Parameter: email” even though everything I set up correctly.

The weird thing is that if I copy my login endpoint in Xano and just use a POST rest API in the workflow and NOT the Xano login workflow everything works beautifully but I can’t access the “isAuthenticated” plugin variable.

I am saving the auth token to a separate variable but because my application is set to use Xano Auth plugin the variable “isAuthenticated” remains “false” if I use the REST API.

Hope the above makes sense.

TOA

hi cambruce,

need more details about your setup. Can you please provide screenshots from both Xano and Weweb?

Hi Batik

So I found the issue but have not found the way to fix it. When you use the Xano Login workflow fron the Xano auth plugin, it also calls the auth/me endpoint for whatever reason, I can see this in the request history. No idea how to solve this, have reached out to Xano.

Hi Cambruce,

Can you let me know what they’ll say to you, if that doesn’t bother you?

Hi @cambruce :waving_hand:

The reason the Xano auth plugin calls the auth/me endpoint after the auth/login endpoint is because, Xano’s login endpoint will return an auth token, not the user information:

When you login, we assume you also want to fetch the current user’s info so once that authToken is created by Xano and sent to WeWeb, we can use it to fetch the current user’s information with the me endpoint:

CleanShot 2025-04-21 at 17.22.26

Does that make sense?

Hi @Joyce, thanks for jumping in.

It makes total sense but it would be good to be able to control that behaviour more granularly.

Right now when I run a debug both the login and me endpoints, return exactly as expected successfully. As soon as I try using the front end in weweb, (editor preview or live) I get an error on the me endpoint saying there’s a missing parameter: field_value.

When I use just the login endpoint from Xano and the REST API in weweb, I login successfully but I can’t access the Xano auth plugin variable “authStatus” to update it to true so all the benefit of the plugin becomes redundant.

I’m busy evaluating WeWeb as a possible avenue for our business to move its entire business management application (currently on bubble) so would be great to get to the bottom of this.

I should also mention that when selecting my endpoints in the Xano Auth Plugin, I see duplicates of the same endpoint for login and me but that’s not true in Xano. I’ve tried all of them with no luck.

Hi @cambruce :waving_hand:

That’s definitely a concern. Can you record a short video showing us what things look like in Xano and WeWeb?

Also, have you tried using the WeWeb debugger?

I would recommend using the Xano Auth plugin in WeWeb and using the WeWeb debugger to figure out what’s happening.

Here’s a short video I just recorded to walk you through how things might look in WeWeb when things are and aren’t working.

Hey @Joyce !

Really appreciate the time you took to put that video together. Unfortunately I’ve been through that whole process. The error you were encountering wasn’t an issue due for me personally.

I have recorded a quick walkthrough but I’d prefer to share it privately if that’s at all possible?

Hi @cambruce :waving_hand:

Just had a look at the video you sent me in private and I have to say I’m stumped!

The only thing that comes to mind that might fix the issue would be to:

  • uninstall the Xano Auth plugin from your WeWeb project
  • hard refresh the WeWeb editor and then reinstall it

It’s just super weird that you are still seeing Xano endpoints that no longer exist.

If that doesn’t do the trick, and assuming you haven’t already, can you please create a support ticket here and include the video you already shared with me so that the tech team can take a deeper look?

Hey @Joyce

Ok cool. I have tried the reinstall method previously but will now try it with a hard reset and see if that does the trick.

If not I’ll create a support ticket :+1:t3:

Thanks for the help this far.

C

1 Like