Merge: ac7faad9 62704ceb
Author: Willy Kloucek <34452982+wkloucek@users.noreply.github.com>
Date:   Mon Nov 15 14:04:06 2021 +0100

    Merge pull request #2755 from owncloud/fix-basic-auth-with-custom-user-claim

    fix basic auth with custom user claim
This commit is contained in:
Willy Kloucek committed 2021-11-15 13:06:37 +00:00
1 parent 20b77c9fdb
commit d4bf400338
14 files changed
+2378 -2378

No files matched your search

+168 -168
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-11-15T12:54:45+0000"
date: "2021-11-15T13:04:31+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/accounts/templates
@@ -35,25 +35,11 @@ If multiple variables are listed for one option, they are in order of precedence
If you prefer to configure the service with command-line flags you can see the available variables below. Command line flags are only working when calling the subcommand directly.
### accounts add
Create a new account
Usage: `accounts add [command options] [arguments...]`
### accounts update
Make changes to an existing account
Usage: `accounts update [command options] [arguments...]`
@@ -112,10 +98,6 @@ Usage: `accounts add [command options] [arguments...]`
: Set the displayname for the account.
-username |
: Username will be written to preferred-name and on_premises_sam_account_name.
-preferred-name |
: Set the preferred-name for the account.
@@ -159,6 +141,21 @@ Usage: `accounts add [command options] [arguments...]`
### accounts list
@@ -248,11 +245,11 @@ Usage: `accounts list [command options] [arguments...]`
### accounts rebuildIndex
### accounts remove
Rebuilds the service's index, i.e. deleting and then re-adding all existing documents
Removes an existing account
Usage: `accounts rebuildIndex [command options] [arguments...]`
Usage: `accounts remove [command options] [arguments...]`
@@ -326,6 +323,12 @@ Usage: `accounts rebuildIndex [command options] [arguments...]`
-grpc-namespace | $ACCOUNTS_GRPC_NAMESPACE
: Set the base namespace for the grpc namespace. Default: `"com.owncloud.api"`.
-name | $ACCOUNTS_NAME
: service name. Default: `"accounts"`.
@@ -518,19 +521,27 @@ Usage: `accounts server [command options] [arguments...]`
### accounts update
### accounts ocis-accounts
Make changes to an existing account
Provide accounts and groups for oCIS
Usage: `accounts update [command options] [arguments...]`
Usage: `accounts ocis-accounts [command options] [arguments...]`
-log-level | $ACCOUNTS_LOG_LEVEL , $OCIS_LOG_LEVEL
: Set logging level.
-log-pretty | $ACCOUNTS_LOG_PRETTY , $OCIS_LOG_PRETTY
: Enable pretty logging.
-log-color | $ACCOUNTS_LOG_COLOR , $OCIS_LOG_COLOR
: Enable colored logging.
-extensions |
: Run specific extensions during supervised mode.
@@ -565,60 +576,22 @@ Usage: `accounts update [command options] [arguments...]`
-grpc-namespace | $ACCOUNTS_GRPC_NAMESPACE
: Set the base namespace for the grpc namespace. Default: `"com.owncloud.api"`.
-name | $ACCOUNTS_NAME
: service name. Default: `"accounts"`.
-enabled |
: Enable the account.
-displayname |
: Set the displayname for the account.
-preferred-name |
: Set the preferred-name for the account.
-on-premises-sam-account-name |
: Set the on-premises-sam-account-name.
-uidnumber |
: Set the uidnumber for the account.
-gidnumber |
: Set the gidnumber for the account.
-mail |
: Set the mail for the account.
-description |
: Set the description for the account.
-password |
: Set the password for the account.
-password-policies |
: Possible policies: DisableStrongPassword, DisablePasswordExpiration.
-force-password-change |
: Force password change on next sign-in.
-force-password-change-mfa |
: Force password change on next sign-in with mfa.
@@ -728,6 +701,132 @@ Usage: `accounts version [command options] [arguments...]`
### accounts add
Create a new account
Usage: `accounts add [command options] [arguments...]`
-grpc-namespace | $ACCOUNTS_GRPC_NAMESPACE
: Set the base namespace for the grpc namespace. Default: `"com.owncloud.api"`.
-name | $ACCOUNTS_NAME
: service name. Default: `"accounts"`.
-enabled |
: Enable the account.
-displayname |
: Set the displayname for the account.
-username |
: Username will be written to preferred-name and on_premises_sam_account_name.
-preferred-name |
: Set the preferred-name for the account.
-on-premises-sam-account-name |
: Set the on-premises-sam-account-name.
-uidnumber |
: Set the uidnumber for the account.
-gidnumber |
: Set the gidnumber for the account.
-mail |
: Set the mail for the account.
-description |
: Set the description for the account.
-password |
: Set the password for the account.
-password-policies |
: Possible policies: DisableStrongPassword, DisablePasswordExpiration.
-force-password-change |
: Force password change on next sign-in.
-force-password-change-mfa |
: Force password change on next sign-in with mfa.
### accounts inspect
Show detailed data on an existing account
@@ -815,11 +914,11 @@ Usage: `accounts inspect [command options] [arguments...]`
-name | $ACCOUNTS_NAME
: service name. Default: `"accounts"`.
### accounts remove
### accounts rebuildIndex
Removes an existing account
Rebuilds the service's index, i.e. deleting and then re-adding all existing documents
Usage: `accounts remove [command options] [arguments...]`
Usage: `accounts rebuildIndex [command options] [arguments...]`
@@ -872,105 +971,6 @@ Usage: `accounts remove [command options] [arguments...]`
-grpc-namespace | $ACCOUNTS_GRPC_NAMESPACE
: Set the base namespace for the grpc namespace. Default: `"com.owncloud.api"`.
-name | $ACCOUNTS_NAME
: service name. Default: `"accounts"`.
### accounts ocis-accounts
Provide accounts and groups for oCIS
Usage: `accounts ocis-accounts [command options] [arguments...]`
-log-level | $ACCOUNTS_LOG_LEVEL , $OCIS_LOG_LEVEL
: Set logging level.
-log-pretty | $ACCOUNTS_LOG_PRETTY , $OCIS_LOG_PRETTY
: Enable pretty logging.
-log-color | $ACCOUNTS_LOG_COLOR , $OCIS_LOG_COLOR
: Enable colored logging.
-extensions |
: Run specific extensions during supervised mode.
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-11-15T12:56:06+0000"
date: "2021-11-15T13:05:24+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/glauth/templates
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-11-15T12:56:06+0000"
date: "2021-11-15T13:05:24+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/graph-explorer/templates
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-11-15T12:56:06+0000"
date: "2021-11-15T13:05:24+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/graph/templates
+144 -144
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-11-15T12:56:06+0000"
date: "2021-11-15T13:05:24+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/idp/templates
@@ -34,149 +34,6 @@ If multiple variables are listed for one option, they are in order of precedence
### Command-line flags
If you prefer to configure the service with command-line flags you can see the available variables below. Command line flags are only working when calling the subcommand directly.
### idp version
Print the versions of the running instances
Usage: `idp version [command options] [arguments...]`
-http-namespace | $IDP_HTTP_NAMESPACE
: Set the base namespace for service discovery. Default: `"com.owncloud.web"`.
-name | $IDP_NAME
: Service name. Default: `"idp"`.
### idp health
Check health status
Usage: `idp health [command options] [arguments...]`
-debug-addr | $IDP_DEBUG_ADDR
: Address to debug endpoint. Default: `"127.0.0.1:9134"`.
### idp ocis-idp
@@ -483,6 +340,149 @@ Usage: `idp server [command options] [arguments...]`
-extensions |
: Run specific extensions during supervised mode. This flag is set by the runtime.
### idp version
Print the versions of the running instances
Usage: `idp version [command options] [arguments...]`
-http-namespace | $IDP_HTTP_NAMESPACE
: Set the base namespace for service discovery. Default: `"com.owncloud.web"`.
-name | $IDP_NAME
: Service name. Default: `"idp"`.
### idp health
Check health status
Usage: `idp health [command options] [arguments...]`
-debug-addr | $IDP_DEBUG_ADDR
: Address to debug endpoint. Default: `"127.0.0.1:9134"`.
+45 -45
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-11-15T12:56:06+0000"
date: "2021-11-15T13:05:24+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/ocs/templates
@@ -35,6 +35,50 @@ If multiple variables are listed for one option, they are in order of precedence
If you prefer to configure the service with command-line flags you can see the available variables below. Command line flags are only working when calling the subcommand directly.
### ocs version
Print the versions of the running instances
Usage: `ocs version [command options] [arguments...]`
-http-namespace | $OCS_NAMESPACE
: Set the base namespace for the http namespace. Default: `"com.owncloud.web"`.
-name | $OCS_NAME
: Service name. Default: `"ocs"`.
### ocs health
Check health status
@@ -239,47 +283,3 @@ Usage: `ocs server [command options] [arguments...]`
### ocs version
Print the versions of the running instances
Usage: `ocs version [command options] [arguments...]`
-http-namespace | $OCS_NAMESPACE
: Set the base namespace for the http namespace. Default: `"com.owncloud.web"`.
-name | $OCS_NAME
: Service name. Default: `"ocs"`.
+54 -54
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-11-15T12:56:07+0000"
date: "2021-11-15T13:05:24+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/proxy/templates
@@ -35,59 +35,6 @@ If multiple variables are listed for one option, they are in order of precedence
If you prefer to configure the service with command-line flags you can see the available variables below. Command line flags are only working when calling the subcommand directly.
### proxy version
Print the versions of the running instances
Usage: `proxy version [command options] [arguments...]`
-service-namespace | $PROXY_SERVICE_NAMESPACE
: Set the base namespace for the service namespace. Default: `"com.owncloud.web"`.
-service-name | $PROXY_SERVICE_NAME
: Service name. Default: `"proxy"`.
### proxy health
Check health status
@@ -358,3 +305,56 @@ Usage: `proxy server [command options] [arguments...]`
### proxy version
Print the versions of the running instances
Usage: `proxy version [command options] [arguments...]`
-service-namespace | $PROXY_SERVICE_NAMESPACE
: Set the base namespace for the service namespace. Default: `"com.owncloud.web"`.
-service-name | $PROXY_SERVICE_NAME
: Service name. Default: `"proxy"`.
+41 -41
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-11-15T12:56:07+0000"
date: "2021-11-15T13:05:24+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/settings/templates
@@ -34,46 +34,6 @@ If multiple variables are listed for one option, they are in order of precedence
### Command-line flags
If you prefer to configure the service with command-line flags you can see the available variables below. Command line flags are only working when calling the subcommand directly.
### settings health
Check health status
Usage: `settings health [command options] [arguments...]`
-debug-addr | $SETTINGS_DEBUG_ADDR
: Address to debug endpoint. Default: `"127.0.0.1:9194"`.
### settings ocis-settings
@@ -275,4 +235,44 @@ Usage: `settings version [command options] [arguments...]`
-name | $SETTINGS_NAME
: service name. Default: `"settings"`.
### settings health
Check health status
Usage: `settings health [command options] [arguments...]`
-debug-addr | $SETTINGS_DEBUG_ADDR
: Address to debug endpoint. Default: `"127.0.0.1:9194"`.
File diff suppressed because it is too large. Load diff
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-11-15T12:56:16+0000"
date: "2021-11-15T13:05:30+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/store/templates
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-11-15T12:56:24+0000"
date: "2021-11-15T13:05:34+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/thumbnails/templates
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-11-15T12:56:33+0000"
date: "2021-11-15T13:05:39+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/web/templates
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-11-15T12:56:33+0000"
date: "2021-11-15T13:05:39+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/webdav/templates
+135 -135
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-11-15T12:56:06+0000"
date: "2021-11-15T13:05:24+0000"
weight: 2
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/ocis/templates
@@ -112,67 +112,6 @@ Usage: `ocis [global options] command [command options] [arguments...]`
## Sub Commands
### ocis list
Lists running ocis extensions
Usage: `ocis list [command options] [arguments...]`
### ocis health
Check health status
Usage: `ocis health [command options] [arguments...]`
-debug-addr | $OCIS_DEBUG_ADDR
: Address to debug endpoint. Default: `127.0.0.1:9010`.
### ocis run
Runs an extension
@@ -202,11 +141,11 @@ Usage: `ocis run [command options] [arguments...]`
### ocis kill
### ocis list
Kill an extension by name
Lists running ocis extensions
Usage: `ocis kill [command options] [arguments...]`
Usage: `ocis list [command options] [arguments...]`
@@ -283,79 +222,72 @@ Usage: `ocis server [command options] [arguments...]`
-extensions | $OCIS_RUN_EXTENSIONS
: Run specific extensions during supervised mode.
### ocis health
Check health status
Usage: `ocis health [command options] [arguments...]`
-debug-addr | $OCIS_DEBUG_ADDR
: Address to debug endpoint. Default: `127.0.0.1:9010`.
### ocis kill
Kill an extension by name
Usage: `ocis kill [command options] [arguments...]`
### List of available Extension subcommands
There are more subcommands to start the individual extensions. Please check the documentation about their usage and options in the dedicated section of the documentation.
#### ocis settings
Start settings server
#### ocis storage-gateway
Start storage gateway
#### ocis storage-home
Start storage and data provider for /home mount
#### ocis storage-sharing
Start storage sharing service
#### ocis storage-app-provider
Start storage app-provider service
#### ocis storage-public-link
Start storage public link storage
#### ocis storage-users
Start storage and data provider for /users mount
#### ocis storage-frontend
Start storage frontend
#### ocis webdav
Start webdav server
#### ocis glauth
Start glauth server
#### ocis storage-auth-basic
Start storage auth-basic service
#### ocis version
Lists running services with version
#### ocis thumbnails
Start thumbnails server
#### ocis accounts
Start accounts server
#### ocis storage-userprovider
Start storage userprovider service
#### ocis store
Start a go-micro store
#### ocis idp
Start idp server
#### ocis proxy
Start proxy server
@@ -364,19 +296,87 @@ Start proxy server
Start storage groupprovider service
#### ocis ocs
#### ocis idp
Start ocs server
Start idp server
#### ocis storage-home
Start storage and data provider for /home mount
#### ocis storage-users
Start storage and data provider for /users mount
#### ocis storage-metadata
Start storage and data service for metadata
#### ocis accounts
Start accounts server
#### ocis ocs
Start ocs server
#### ocis storage-app-provider
Start storage app-provider service
#### ocis storage-frontend
Start storage frontend
#### ocis store
Start a go-micro store
#### ocis thumbnails
Start thumbnails server
#### ocis webdav
Start webdav server
#### ocis storage-auth-basic
Start storage auth-basic service
#### ocis storage-sharing
Start storage sharing service
#### ocis glauth
Start glauth server
#### ocis storage-auth-bearer
Start storage auth-bearer service
#### ocis storage-gateway
Start storage gateway
#### ocis settings
Start settings server
#### ocis storage-public-link
Start storage public link storage
#### ocis version
Lists running services with version
#### ocis web
Start web server
#### ocis storage-userprovider
Start storage userprovider service