Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check username availability in realtime during registration #62

Open
2 tasks
sylvain101010 opened this issue Oct 28, 2020 · 1 comment
Open
2 tasks

Comments

@sylvain101010
Copy link
Member

problems:

  • prevent username enumeration
  • prevent DOS
@sylvain101010
Copy link
Member Author

let's go!

The frontend component to modify is: https://gitlab.com/bloom42/bloom/blob/dev/webapp/src/bloom/kernel/components/SetupUsernameForm.vue

also you may have to add a backend endpoint to check if username is available (https://gitlab.com/bloom42/bloom/tree/dev/server/kernel/src/myaccount).

The endpoint should be prevent bruteforce.

Also, on the frontend side, requests should be throttled to not request the backend at each input modification, but rather ~1.5 second after no input modification.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant