Securing API: how to validate a current user that wants to access a resource
I'm creating a project where a user can login or signup, but I just found out a security flaw. First let me tell the flow when a user received a token from the server, A user can signup or login,…