Conversation
28e86cd to
7e67c31
Compare
7e67c31 to
6f1ede9
Compare
To prevent unauthorized access to the new data by other users, we're implementing a new auth, that restricts access to the admin account
To prevent unauthorized access to the new data by other users, we're implementing a new auth, that restricts access to the admin account
6f1ede9 to
0825119
Compare
gtempus
left a comment
There was a problem hiding this comment.
Yeah! This is what I was orginally thinking, @willian-viana! 💯
Do we need to modify utils/request.js since the Authorization header is already being added in pages/api/data/[...params].js?
The main reason I'm asking is that it means that the client will send a token to the server-side, and could be captured and used by someone else to access the data? 🤷
|
gtempus
left a comment
There was a problem hiding this comment.
Thanks, @willian-viana! Let's give this a shot. ![]()
86858d3 to
0777407
Compare
Overview
To prevent unauthorized access to the new data by other users, we're implementing a new auth, that restricts access to the admin account