Add proper security to the apps #145
Labels
improvement
Improvement of current features
refactor
Refactor of current code into a better version of it
Milestone
Summary
The backend API is currently open and has no security, and that needs to change. With Discord authentication this will be possible. With proper security in the back end, we can store client data more securely and prevent storage of sensitive data in the browser or in a cookie.
Details
The backend API needs to have
Authorization
headers validation with proper tokens and block the APIs in case a valid session isn't available. Now that we have Discord authentication, we should investigate a way of achieving this. This should also help secure the front end.Authorization
header;requester
header (contains user ID an nothing else) from the requests and use cached data instead;The text was updated successfully, but these errors were encountered: