secure api data from calls out of the app
问题 Consider we have an api endpoint (ex: REST) and a react web app to connect it This is what I do for authentication and authorization When user sends a login request I create a token (ex: JWT) for that user and then user can send query or mutation requests with that token For doing this I save token in localStorage or cookies and user self can see it For a simple app it's ok butو what if I want to even the user not be able to use this token, and token work just in my react app ( my website ) ?