I’m hoping someone can help me. I have an app that when attempting to login, does not always work. It will say invalid username and/or password. The problem is, my client as well as myself are using the correct login credentials and are forced to reset the password. Sometimes after logging in and getting an error, if I hit the back button in the top nav bar it will take me to the app and then if I go to my profile, it will show me as logged in.
I do want to say, there are no redirects when logging in based on the user’s access level. Everyone goes straight to the home page.
Most probably the actions on the login button/screen are not configured correctly. Could you share the screenshot of your setup? Just in case, doublecheck if there are no conflicting actions on the same element(s) - imagine you have a group with action to log in, and inside the group you have a button with the action to log in - visually they’re in the same place but you never know which action will work.
Thanks for replying. I’m not a new user, but not a genius either. Let’s say I still have to figure out XANO. With that being said, I have several published apps, but I understand you have to start with the basics to diagnose an issue.
When I mentioned no redirects, I should have been clear. I have no “actions” is what I meant. That is always the first thing I look at when a page is malfunctioning.
Sorry but I don’t quite understand your setup. Do you use Xano as user database?
Also: in regular Adalo, login flow has existed for years and has been working quite reliably. In my opinion it is very unlikely that there is some Adalo bug which suddenly changes the password of a user, at the same time logging them in.
Therefore, my conclusion is that somewhere in your app there is an action which is executed sometimes (as you are describing this issue is not constant), which uses incorrect parameters for login and that’s why you’re getting “incorrect credentials”.
Please let me emphasise that this is a hypothesis, as I do not have an access to your app and can not debug it hands-on. I have to base my guesses on your description.
As you say that there are no other login-related actions on any other elements on this page (incl. Group 444) , the only things I can suggest is that you could:
debug the login flow with Javascript console in the browser, using “Network” tab, to see what’s happening when you’re logging in and if credentials are sent correctly to the backend
try finding the pattern when login works and when not
recreate login screen from scratch and see if the problem persists (to avoid any bugs on the existing screen).
Just in case, based on your description I assume that user is sometimes becomes logged in. Ability to navigate back to the profile page and having some data shown there does not necessarily mean that there is a user token; data could be cached. The proof could be trying to update some info of the logged-in user and see the change reflected in the database.
I use Adalo’s database. I want to implement XANO as my plan includes it, but I have not yet tackled that hurdle. I’m confident I can figure it out, but it will be my first time in integrating with it.
As for your suggestions, I truly appreciate your in-depth reply. I will take a look at them and review my app later this afternoon. I am convinced as well that there is something in the flow that is causing the issue as my other apps have never had any problems with a users login credentials.
I’ll update you on my progress. Thanks once again.