-2

I have android app (Flutter) and backend (NodeJs) I am using JWT authentication method there is no sign up , I previously added users to DB so they can logged in with their personal id and combination of their personal id and another personal number The problem is: when some users try to login to the application they successfully logged in but they found a profile for another user.

How can I troubleshot this problem?

In fact I didn`t try anything it is a strange problem for me

  • Please clarify your specific problem or provide additional details to highlight exactly what you need. As it's currently written, it's hard to tell exactly what you're asking. – Community Feb 27 '23 at 19:22

1 Answers1

-2

To troubleshoot this issue, it may be helpful to start by looking at the code for the authentication process and make sure it is correctly verifying the user's identity. You can also check the database to make sure that the users are being correctly stored and that the information is accurate. Additionally, you can add logging or debugging statements to your code to track the process and identify where the problem may be occurring. Finally, you can try testing the authentication process with different users and check the results to see if the same issue occurs.

But please upload any screenshot or code