summaryrefslogtreecommitdiffstats
path: root/docs/content/doc/usage/command-line.en-us.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/content/doc/usage/command-line.en-us.md')
-rw-r--r--docs/content/doc/usage/command-line.en-us.md14
1 files changed, 14 insertions, 0 deletions
diff --git a/docs/content/doc/usage/command-line.en-us.md b/docs/content/doc/usage/command-line.en-us.md
index 296f87b51c..5e794b56c2 100644
--- a/docs/content/doc/usage/command-line.en-us.md
+++ b/docs/content/doc/usage/command-line.en-us.md
@@ -129,6 +129,13 @@ Admin operations:
- `--custom-profile-url`: Use a custom Profile URL (option for GitLab/GitHub).
- `--custom-email-url`: Use a custom Email URL (option for GitHub).
- `--icon-url`: Custom icon URL for OAuth2 login source.
+ - `--override-local-2fa`: Allow source to override local 2fa. (Optional)
+ - `--scopes`: Addtional scopes to request for this OAuth2 source. (Optional)
+ - `--required-claim-name`: Claim name that has to be set to allow users to login with this source. (Optional)
+ - `--required-claim-value`: Claim value that has to be set to allow users to login with this source. (Optional)
+ - `--group-claim-name`: Claim name providing group names for this source. (Optional)
+ - `--admin-group`: Group Claim value for administrator users. (Optional)
+ - `--restricted-group`: Group Claim value for restricted users. (Optional)
- Examples:
- `gitea admin auth add-oauth --name external-github --provider github --key OBTAIN_FROM_SOURCE --secret OBTAIN_FROM_SOURCE`
- `update-oauth`:
@@ -145,6 +152,13 @@ Admin operations:
- `--custom-profile-url`: Use a custom Profile URL (option for GitLab/GitHub).
- `--custom-email-url`: Use a custom Email URL (option for GitHub).
- `--icon-url`: Custom icon URL for OAuth2 login source.
+ - `--override-local-2fa`: Allow source to override local 2fa. (Optional)
+ - `--scopes`: Addtional scopes to request for this OAuth2 source.
+ - `--required-claim-name`: Claim name that has to be set to allow users to login with this source. (Optional)
+ - `--required-claim-value`: Claim value that has to be set to allow users to login with this source. (Optional)
+ - `--group-claim-name`: Claim name providing group names for this source. (Optional)
+ - `--admin-group`: Group Claim value for administrator users. (Optional)
+ - `--restricted-group`: Group Claim value for restricted users. (Optional)
- Examples:
- `gitea admin auth update-oauth --id 1 --name external-github-updated`
- `add-ldap`: Add new LDAP (via Bind DN) authentication source