discord / embedded-app-sdk

🚀 The Discord Embedded App SDK lets you build rich, multiplayer experiences as Activities inside Discord.
https://discord.com/developers/docs/activities/overview
MIT License
1.25k stars 178 forks source link

Sign HTTP requests from Discord proxies #139

Open thelukethorpe opened 6 months ago

thelukethorpe commented 6 months ago

Consider the following scenario:

Potential Solution: Any HTTP requests forwarded by a Discord proxy are signed as a deterministic function of the request body and the activity secret. This way, the "Wutt Party" backend can be sure that the request has been forwarded from a Discord proxy, and therefore won't issue an IP ban.

gabemeola commented 1 day ago

@thelukethorpe I'm curious to understand your use-case. What benefit would you gain over banning the User ID?