Closed
Description
Background
We recently added the ability to create non-password accounts in #9000. Before this, you could only create password accounts from the UI. This helps users manually onboard OIDC users (while disabling signups for the wider organization)
Current behavior
Coder hides the "New user" button on the /users
page when https://coder.com/docs/v2/latest/cli/server#--disable-password-auth is set to true.
Workaround
Admins can manually navigate to the /users/create
endpoint (e.g. https://coder.example.com/users/create) in their browser to create users.
Desired behavior
Coder continues to show the "New user" button since the admin can create non-password accounts such as Login Type: OIDC (some deployments), Login Type: GitHub (some deployments), and Login Type: "None" (all deployments)