As a rookie building their first app, I used react + flask which uses auth0 to manage users.
I used this setup that does not require an API token in my front-end client I just forward the token to my backend API and it does the job.
Now my issue is any user can alter the request and send a delete or update request to my server with someone’s else id and the API will delete that user.
How can I make my backend check if the token passed and only delete or update that user if the token was actually issued to the user they trying to edit or delete?
If this has already an easy solution please don’t mind me as I stated before I’m still a rookie ![]()