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

Surface blocking of weak passwords / username taken in the UI (Error: "Couldn't create token in backend, Failed to create user") #350

Open
dmonacoceps opened this issue Sep 18, 2024 · 2 comments

Comments

@dmonacoceps
Copy link

I get the following error message when trying to create an account:
Couldn't create token in backend
Failed to create user

@maltem-za
Copy link
Member

maltem-za commented Sep 19, 2024

Hello @dmonacoceps

In this case the error message is unfortunately not helpful, but the reason is usually a password that is too weak. The password must not contain any parts of your name, username or email address, for example.

Please click on the link in the activation email again and try a different password (if you receive a message such as "invalid token" or similar after clicking on the link, you will have to repeat the registration process to receive a new activation link).

If you are still stuck please write to [email protected] with the date & time you tried to register and we can take a closer look.

@maltem-za maltem-za changed the title Couldn't create token in backend Surface blocking of weak passwords / username taken in the UI (Error: "Couldn't create token in backend, Failed to create user") Sep 19, 2024
@maltem-za
Copy link
Member

GitLab does provide a more useful error message, but it's not being passed through to the CATMA frontend for some reason.

Ref: https://docs.gitlab.com/ee/user/profile/user_passwords.html#block-weak-passwords

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

No branches or pull requests

2 participants