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

Default login credentials? #6

Open
Cronocide opened this issue Apr 17, 2024 · 12 comments · May be fixed by #36
Open

Default login credentials? #6

Cronocide opened this issue Apr 17, 2024 · 12 comments · May be fixed by #36

Comments

@Cronocide
Copy link

What are the default admin credentials, or how are they set up the first time? I've got the accounts service up, but everything I've tried is returning platform:status:AccountNotFound.

@kokoali-bima
Copy link

What are the default admin credentials, or how are they set up the first time? I've got the accounts service up, but everything I've tried is returning platform:status:AccountNotFound.

did you get what is the default credentials? I have no idea, where's to create it on docker container?

@aonnikov
Copy link
Member

aonnikov commented Jun 6, 2024

We have neither default credentials nor admin user created 😄
For the first time you can create a user via UI or via command line:

rushx run-local create-account admin -p password -f John -l Doe
rushx run-local assign-workspace admin my-workspace
rushx run-local set-user-role admin my-workspace OWNER

@kokoali-bima
Copy link

I have tried to use that command as written on docs. on which container I should use that command on huly docker self host version?
I think for docker selfhosted version there is a missing container. maybe a container that we can use rushx command?

@aonnikov
Copy link
Member

Ah, the tools are available in the sources only.

There is much simpler way to do this. Just create a new account from UI, when you create a new workspace, it will this account will be an admin account for this workspace.

@kokoali-bima
Copy link

I see, thanks for your explanation @aonnikov
However, I think I got similar errors as #15 now.
Ok, I will try to fix it.

@avl93
Copy link

avl93 commented Jun 14, 2024

Aren't there any "server admin" account, which could, like, manage other users, i.e. enable/disable creation of new accounts?

@aonnikov
Copy link
Member

@avl93 nope. The user who created a workspace becomes the owner of this workspace and can manage existing accounts. We do not provide a way to disable creation of new accounts, though.

@Hawolex
Copy link

Hawolex commented Oct 9, 2024

@avl93 nope. The user who created a workspace becomes the owner of this workspace and can manage existing accounts. We do not provide a way to disable creation of new accounts, though.

If this is true, then it`s no point of hosting and testing this.... free for all who finds it to just start using. Not a goos security feature or argument to show leaders at work

@ronzyfonzy
Copy link

ronzyfonzy commented Oct 15, 2024

I deployed this today on a ubuntu machine and got the same problem:

  • don't have any default user/pass to get in
  • don't have an option to create a user

Altho as explained I could create a new user via the web UI but I get the error as mentioned by @kokoali-bima reported in #15

Edit: I tested the fix provided in #36 and I was able to create the use via the web UI

@veryCrunchy veryCrunchy linked a pull request Oct 15, 2024 that will close this issue
@DrMxrcy
Copy link

DrMxrcy commented Oct 20, 2024

@avl93 nope. The user who created a workspace becomes the owner of this workspace and can manage existing accounts. We do not provide a way to disable creation of new accounts, though.

I agree with @Hawolex Without support to disable account creation, it causes a security nightmare.

@aonnikov
Copy link
Member

@Hawolex @DrMxrcy we are currently working on this, there will be an announcement soon.

@lexiv0re
Copy link
Contributor

Please check #55 on disabling sign-up.

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

Successfully merging a pull request may close this issue.

8 participants