mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08: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:
Generated
+8
-8
@@ -10,14 +10,6 @@ coder users create [flags]
|
||||
|
||||
## Options
|
||||
|
||||
### --disable-login
|
||||
|
||||
| | |
|
||||
| ---- | ----------------- |
|
||||
| Type | <code>bool</code> |
|
||||
|
||||
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
|
||||
|
||||
| | |
|
||||
@@ -26,6 +18,14 @@ Disabling login for a user prevents the user from authenticating via password or
|
||||
|
||||
Specifies an email address for the new user.
|
||||
|
||||
### --login-type
|
||||
|
||||
| | |
|
||||
| ---- | ------------------- |
|
||||
| Type | <code>string</code> |
|
||||
|
||||
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
|
||||
|
||||
| | |
|
||||
|
||||
Reference in New Issue
Block a user