mirror of
https://gitea.com/gitea/docs.git
synced 2026-07-22 02:37:42 +00:00
CLI support for OAuth sources custom icons (#14166)
Co-authored-by: Daniil Pankratov <daniil.pankratov@t-systems.com>
This commit is contained in:
@@ -114,6 +114,7 @@ Admin operations:
|
|||||||
- `--custom-token-url`: Use a custom Token URL (option for GitLab/GitHub).
|
- `--custom-token-url`: Use a custom Token URL (option for GitLab/GitHub).
|
||||||
- `--custom-profile-url`: Use a custom Profile URL (option for GitLab/GitHub).
|
- `--custom-profile-url`: Use a custom Profile URL (option for GitLab/GitHub).
|
||||||
- `--custom-email-url`: Use a custom Email URL (option for GitHub).
|
- `--custom-email-url`: Use a custom Email URL (option for GitHub).
|
||||||
|
- `--icon-url`: Custom icon URL for OAuth2 login source.
|
||||||
- Examples:
|
- Examples:
|
||||||
- `gitea admin auth add-oauth --name external-github --provider github --key OBTAIN_FROM_SOURCE --secret OBTAIN_FROM_SOURCE`
|
- `gitea admin auth add-oauth --name external-github --provider github --key OBTAIN_FROM_SOURCE --secret OBTAIN_FROM_SOURCE`
|
||||||
- `update-oauth`:
|
- `update-oauth`:
|
||||||
@@ -129,6 +130,7 @@ Admin operations:
|
|||||||
- `--custom-token-url`: Use a custom Token URL (option for GitLab/GitHub).
|
- `--custom-token-url`: Use a custom Token URL (option for GitLab/GitHub).
|
||||||
- `--custom-profile-url`: Use a custom Profile URL (option for GitLab/GitHub).
|
- `--custom-profile-url`: Use a custom Profile URL (option for GitLab/GitHub).
|
||||||
- `--custom-email-url`: Use a custom Email URL (option for GitHub).
|
- `--custom-email-url`: Use a custom Email URL (option for GitHub).
|
||||||
|
- `--icon-url`: Custom icon URL for OAuth2 login source.
|
||||||
- Examples:
|
- Examples:
|
||||||
- `gitea admin auth update-oauth --id 1 --name external-github-updated`
|
- `gitea admin auth update-oauth --id 1 --name external-github-updated`
|
||||||
- `add-ldap`: Add new LDAP (via Bind DN) authentication source
|
- `add-ldap`: Add new LDAP (via Bind DN) authentication source
|
||||||
|
|||||||
Reference in New Issue
Block a user