-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Labels
Description
This endpoint, located at /discord/verify, is used by PalaceBot in the last step of the linking process to confirm the linking code the user provided.
If this code matches the one the user was sent, the API should assign the necessary roles to the user, and respond with a success message.
If the code is invalid, the response should be similar to { "success": false, "message": "Invalid code" }. Rate-limiting could be added if time permits, to prevent users from guessing the linking code of another user.