mirror of
https://github.com/coder/coder.git
synced 2025-07-15 22:20:27 +00:00
feat: allow creating manual oidc/github based users (#9000)
* feat: allow creating manual oidc/github based users * Add unit test for oidc and no login type create
This commit is contained in:
12
cli/testdata/coder_users_create_--help.golden
vendored
12
cli/testdata/coder_users_create_--help.golden
vendored
@ -1,15 +1,15 @@
|
||||
Usage: coder users create [flags]
|
||||
|
||||
[1mOptions[0m
|
||||
--disable-login bool
|
||||
Disabling login for a user prevents the user from authenticating via
|
||||
password or IdP login. Authentication requires an API key/token
|
||||
generated by an admin. Be careful when using this flag as it can lock
|
||||
the user out of their account.
|
||||
|
||||
-e, --email string
|
||||
Specifies an email address for the new user.
|
||||
|
||||
--login-type string
|
||||
Optionally specify the login type for the user. Valid values are:
|
||||
password, none, github, oidc. Using 'none' prevents the user from
|
||||
authenticating and requires an API key/token to be generated by an
|
||||
admin.
|
||||
|
||||
-p, --password string
|
||||
Specifies a password for the new user.
|
||||
|
||||
|
Reference in New Issue
Block a user