-
Notifications
You must be signed in to change notification settings - Fork 246
[Bug]: ENABLE_USER_SIGN_UP is ignored in the all-in-one docker image #355
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
Comments
We fixed this with v2.1.3 |
It's still an issue today using docker-compose and lowcoderorg/lowcoder-ce:latest NB : there is nothing in the app UI to indicate which version is running. |
We researched both questions. Generally it is like this: If we would suppress fully the ability to register a user, nobody would be able to login into Lowcoder. This makes naturally no sense. Therefore the Logic is like this: Given that the COMMON_WORKSPACE_MODE is SAAS (people can create workspaces) We differentiate some situations: They are then not treated as typical registered (when not used a invite link) like an admin and get an own workspace. |
The second question is "where to see the version". This is not truly big mentioned, agreed. |
Thank you for the explanation which makes sense, although maybe a non-standard approach. The main problem is that the words Best solution would be change parameter label, but maybe this has implementation difficulties to flow through the code. |
Absolutely agree! We have to take this to our documentation. |
I appreciate the replies, but I believe that my original concern has not been addressed. As @timconsidine mentioned, I expected that the option |
Question... You set the environment Variable "ENABLE_USER_SIGNUP" to false and start your Docker. Second Question. You run Lowcoder for multiple Teams in a Company and use the Workspace Mode (SAAS). |
The approaches I have seen other repos take is :
Neither are great approaches but they happen a lot. Another approach is to show signup if no users in database, but hide link from screen if ENABLE_USER_SIGNUP is false if users exist. The link can be guessed of course, which might be a vulnerability without some other coding. They all have a coding overhead, and I don't know which is the least overhead. Second question : it's a scenario to consider, but I don't have experience of best approach for this. |
We think we to go with the second option. ENABLE_USER_SIGN_UP is currently active IF the COMMON_WORKSPACE_MODE=SAAS. At a point we agree with @ricardopadilha. Cause we do show the eMail based Form always (currently). We need to change this and hide it properly. |
If you find it still not working, please re-open. |
As we're moving forward with implementing lowcoder, we're also finding this current behavior to be somewhat problematic. In our enterprise, we never want users to be able to create a login for themselves, and we don't want to introduce the additional confusion that is created by the email login form. While I like the idea of the workspaces, I don't know that we really need it; @FalkWolsky, if we changed from saas mode, would that address some of this? |
Yes. As soon as you have the Mode set to ENTERPRISE, workspaces will not appear. |
That makes sense. We'll be eager to hide the sign up and email login form fields when we can--either for specific workspaces or globally-- as we're finding they introduce confusion, rather than making things easier. If there were even an option to do so via CSS, we'd be pleased to go that route; that'd be something we could undo if needed, to re-enable that login path. Related: if it were possible to add additional/different text to the Oauth button, that'd be very helpful as well: Keycloak isn't a platform our users are familiar with (even if they've used it unknowningly across the org), so being able to add a "click here to sign in with your network credentials" or similar guidance would be nice. |
Is there an existing issue for this?
Current Behavior
I deployed an instance of lowcoder using both of these instructions:
Even if I set ENABLE_USER_SIGN_UP environment variable as
false
, the "Sign Up" link is visible and functional. Anyone can just access my instance and create an account.Expected Behavior
When ENABLE_USER_SIGN_UP is set to
false
, there should be no "Sign Up" link in the login page.Steps to reproduce
Environment
Additional Information
No response
The text was updated successfully, but these errors were encountered: