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

New options for Allow user signups - invite only #2446

Open
GameBurrow opened this issue Sep 17, 2024 · 5 comments
Open

New options for Allow user signups - invite only #2446

GameBurrow opened this issue Sep 17, 2024 · 5 comments
Assignees

Comments

@GameBurrow
Copy link

Feature description

Currently Allow user signups has 2 options:

  • Anyone
  • Disabled

We need third option - Invite only. Only allow registration for users that actually got invited.

Why would it be useful?

Currently the only way to limit user registration is by domain only. That's useful for corporations/companies/businesses where all people use same emails, but for more casual use, where people cane have different email domains (for example I have a kube cluster that is shared by me and my close friends), I have to temporarely enable registrations, so I can invite those people, which I consider a security risk. Especially considering you can't fully delete users through UI in Free tier, if some random person starts user registration process, while I have it open, it's annoying.

Additional context

Strange thing is looking at old issue reports and forum posts, it seems like you had this feature using INVITE_ONLY_SIGNUP env flag but it got removed at one point? #1892

@GameBurrow GameBurrow changed the title New options for Allow user signups New options for Allow user signups - invite only Sep 17, 2024
@kasyap1234
Copy link
Contributor

@maidul98 I would like to work on this issue .

@sheensantoscapadngan sheensantoscapadngan self-assigned this Sep 22, 2024
@sheensantoscapadngan
Copy link
Member

Hey @GameBurrow! When the Allow user signups option is Disabled, your users should still be able to register to the organization by clicking the invite link sent via email upon org invitation. At the moment, they will have to go through the invitation link for registration to work as expected. Let me know if you have any additional questions!

image

@GameBurrow
Copy link
Author

@sheensantoscapadngan

Hey. I tried it with 2 people. When they clicked the links, it just directed them to the login page. Both of them said that and tried their links myself, can confirm. Even tried to invitie myself with secondary email and same happens.

Link format was https://vault.sepaurg.eu/signupinvite?token=[redacted]&to=[redacted]&organization_id=[redacted]

@sheensantoscapadngan
Copy link
Member

This is indeed a bug in the signup flow. I've raised a PR to address this here.

Thank you for reporting this and for the prompt response!

@vwbusguy
Copy link
Contributor

vwbusguy commented Sep 25, 2024

Hey @GameBurrow! When the Allow user signups option is Disabled, your users should still be able to register to the organization by clicking the invite link sent via email upon org invitation. At the moment, they will have to go through the invitation link for registration to work as expected. Let me know if you have any additional questions!
image

This caused problems for us today in onboarding a new user. The invited user could not complete sign up until we enabled global sign up and then disabled it again once the user had completed sign in. We also had INVITE_ONLY_STARTUP set in our environment, so this was an unexpected breaking change for us. Currently (in v0.86.1), with Sign Up disabled, you can invite a user but that user will never be able to complete the sign in process, but will be stuck on the Sign Up page with a broken form.

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

4 participants