Skip to content

Add a Discord linking verify endpoint #7

@marcdif

Description

@marcdif

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions