Skip to content

Allow for account creation from the Discord bot. #300

@daanbreur

Description

@daanbreur

Situation:
You are in a Discord server and want to get access to the CTFNote, there is possibly a pin somewhere with the invitation code which you can use to get your own account. However, you aren't done yet. You then will have to manually link your account.

Proposed Solution:
What if there was a better and quicker way of making an account and syncing your account to your discord. For this I propose a command, for example /createaccount or /register (name to be determined). Which will create an one-time invitation link, which, after used will automatically link the Discord id to the just created user.

image

There is also an option that the Discord bot checks if the user has a specific role and only if they have this role allows to create their own account using this command.
This option can also be turned off using environment variables.

The one-time invitation links that can be created through the admin dashboard remain unchanged and will just create the account without any additional linking.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions