Merge: ed6ed61b fd2bf9c8
Author: David Christofas <dchristofas@owncloud.com>
Date:   Wed Sep 22 12:20:29 2021 -0400

    Merge pull request #2528 from ishank011/reva-auth-tokens

    Use reva's Authenticate method instead of spawning token managers
This commit is contained in:
David Christofas committed 2021-09-22 16:27:05 +00:00
1 parent cd392498aa
commit 55443a5d8b
14 files changed
+2443 -2393

No files matched your search

File diff suppressed because it is too large. Load diff
+103 -103
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-09-21T00:07:45+0000"
date: "2021-09-22T16:25:48+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/glauth/templates
@@ -34,108 +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.
### glauth health
Check health status
Usage: `glauth health [command options] [arguments...]`
-debug-addr | $GLAUTH_DEBUG_ADDR
: Address to debug endpoint. Default: `"0.0.0.0:9129"`.
### glauth ocis-glauth
Serve GLAuth API for oCIS
Usage: `glauth ocis-glauth [command options] [arguments...]`
-log-level | $GLAUTH_LOG_LEVEL , $OCIS_LOG_LEVEL
: Set logging level.
-log-pretty | $GLAUTH_LOG_PRETTY , $OCIS_LOG_PRETTY
: Enable pretty logging.
-log-color | $GLAUTH_LOG_COLOR , $OCIS_LOG_COLOR
: Enable colored logging.
### glauth server
@@ -286,4 +184,106 @@ Usage: `glauth server [command options] [arguments...]`
-extensions |
: Run specific extensions during supervised mode. This flag is set by the runtime.
### glauth health
Check health status
Usage: `glauth health [command options] [arguments...]`
-debug-addr | $GLAUTH_DEBUG_ADDR
: Address to debug endpoint. Default: `"0.0.0.0:9129"`.
### glauth ocis-glauth
Serve GLAuth API for oCIS
Usage: `glauth ocis-glauth [command options] [arguments...]`
-log-level | $GLAUTH_LOG_LEVEL , $OCIS_LOG_LEVEL
: Set logging level.
-log-pretty | $GLAUTH_LOG_PRETTY , $OCIS_LOG_PRETTY
: Enable pretty logging.
-log-color | $GLAUTH_LOG_COLOR , $OCIS_LOG_COLOR
: Enable colored logging.
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-09-21T00:07:45+0000"
date: "2021-09-22T16:25:48+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/graph-explorer/templates
+32 -32
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-09-21T00:07:45+0000"
date: "2021-09-22T16:25:48+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/graph/templates
@@ -35,6 +35,37 @@ 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.
### graph health
Check health status
Usage: `graph health [command options] [arguments...]`
-debug-addr | $GRAPH_DEBUG_ADDR
: Address to debug endpoint. Default: `"0.0.0.0:9124"`.
### graph ocis-graph
Serve Graph API for oCIS
@@ -154,34 +185,3 @@ Usage: `graph server [command options] [arguments...]`
-extensions |
: Run specific extensions during supervised mode. This flag is set by the runtime.
### graph health
Check health status
Usage: `graph health [command options] [arguments...]`
-debug-addr | $GRAPH_DEBUG_ADDR
: Address to debug endpoint. Default: `"0.0.0.0:9124"`.
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-09-21T00:07:45+0000"
date: "2021-09-22T16:25:48+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/idp/templates
+44 -37
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-09-21T00:07:45+0000"
date: "2021-09-22T16:25:48+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/ocs/templates
@@ -34,6 +34,43 @@ 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.
### ocs health
Check health status
Usage: `ocs health [command options] [arguments...]`
-debug-addr | $OCS_DEBUG_ADDR
: Address to debug endpoint. Default: `"0.0.0.0:9114"`.
### ocs ocis-ocs
@@ -66,6 +103,7 @@ Usage: `ocs ocis-ocs [command options] [arguments...]`
### ocs server
@@ -160,6 +198,10 @@ Usage: `ocs server [command options] [arguments...]`
: REVA Gateway Endpoint. Default: `"127.0.0.1:9142"`.
-machine-auth-api-key | $OCS_MACHINE_AUTH_API_KEY , $OCIS_MACHINE_AUTH_API_KEY
: the API key to be used for the machine auth driver in reva. Default: `"change-me-please"`.
-idm-address | $OCS_IDM_ADDRESS , $OCIS_URL
: keeps track of the IDM Address. Needed because of Reva requisite of uniqueness for users. Default: `"https://localhost:9200"`.
@@ -203,6 +245,7 @@ Usage: `ocs version [command options] [arguments...]`
-http-namespace | $OCS_NAMESPACE
@@ -211,40 +254,4 @@ Usage: `ocs version [command options] [arguments...]`
-name | $OCS_NAME
: Service name. Default: `"ocs"`.
### ocs health
Check health status
Usage: `ocs health [command options] [arguments...]`
-debug-addr | $OCS_DEBUG_ADDR
: Address to debug endpoint. Default: `"0.0.0.0:9114"`.
+61 -54
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-09-21T00:07:45+0000"
date: "2021-09-22T16:25:48+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/proxy/templates
@@ -35,6 +35,60 @@ 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
@@ -83,6 +137,7 @@ Usage: `proxy health [command options] [arguments...]`
### proxy ocis-proxy
@@ -142,6 +197,7 @@ Usage: `proxy ocis-proxy [command options] [arguments...]`
### proxy server
@@ -300,61 +356,12 @@ Usage: `proxy server [command options] [arguments...]`
: account-backend-type. Default: `"accounts"`.
-machine-auth-api-key | $PROXY_MACHINE_AUTH_API_KEY , $OCIS_MACHINE_AUTH_API_KEY
: the API key to be used for the machine auth driver in reva. Default: `"change-me-please"`.
-proxy-user-agent-lock-in | $PROXY_MIDDLEWARE_AUTH_CREDENTIALS_BY_USER_AGENT
: --user-agent-whitelist-lock-in=mirall:basic,foo:bearer Given a tuple of [UserAgent:challenge] it locks a given user agent to the authentication challenge. Particularly useful for old clients whose USer-Agent is known and only support one authentication challenge. When this flag is set in the proxy it configures the authentication middlewares..
### 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"`.
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-09-21T00:07:46+0000"
date: "2021-09-22T16:25:48+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/settings/templates
File diff suppressed because it is too large. Load diff
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-09-21T00:07:46+0000"
date: "2021-09-22T16:25:49+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/store/templates
+36 -36
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-09-21T00:07:47+0000"
date: "2021-09-22T16:25:49+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/thumbnails/templates
@@ -34,41 +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.
### thumbnails health
Check health status
Usage: `thumbnails health [command options] [arguments...]`
-debug-addr | $THUMBNAILS_DEBUG_ADDR
: Address to debug endpoint. Default: `"0.0.0.0:9189"`.
### thumbnails ocis-thumbnails
@@ -240,4 +205,39 @@ Usage: `thumbnails version [command options] [arguments...]`
-grpc-namespace | $THUMBNAILS_GRPC_NAMESPACE
: Set the base namespace for the grpc namespace. Default: `"com.owncloud.api"`.
### thumbnails health
Check health status
Usage: `thumbnails health [command options] [arguments...]`
-debug-addr | $THUMBNAILS_DEBUG_ADDR
: Address to debug endpoint. Default: `"0.0.0.0:9189"`.
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-09-21T00:07:47+0000"
date: "2021-09-22T16:25:50+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/web/templates
+34 -34
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-09-21T00:07:47+0000"
date: "2021-09-22T16:25:50+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/webdav/templates
@@ -66,6 +66,39 @@ Usage: `webdav [global options] command [command options] [arguments...]`
## Sub Commands
### webdav health
Check health status
Usage: `webdav health [command options] [arguments...]`
-debug-addr | $WEBDAV_DEBUG_ADDR
: Address to debug endpoint. Default: `"0.0.0.0:9119"`.
### webdav server
@@ -195,37 +228,4 @@ Usage: `webdav version [command options] [arguments...]`
-service-name | $WEBDAV_SERVICE_NAME
: Service name. Default: `"webdav"`.
### webdav health
Check health status
Usage: `webdav health [command options] [arguments...]`
-debug-addr | $WEBDAV_DEBUG_ADDR
: Address to debug endpoint. Default: `"0.0.0.0:9119"`.
+128 -128
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-09-21T00:07:45+0000"
date: "2021-09-22T16:25:48+0000"
weight: 2
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/ocis/templates
@@ -108,6 +108,65 @@ Usage: `ocis [global options] command [command options] [arguments...]`
## Sub Commands
### ocis run
Runs an extension
Usage: `ocis run [command options] [arguments...]`
### ocis health
Check health status
Usage: `ocis health [command options] [arguments...]`
-debug-addr | $OCIS_DEBUG_ADDR
: Address to debug endpoint. Default: `0.0.0.0:9010`.
### ocis list
Lists running ocis extensions
@@ -213,65 +272,6 @@ Usage: `ocis kill [command options] [arguments...]`
### ocis health
Check health status
Usage: `ocis health [command options] [arguments...]`
-debug-addr | $OCIS_DEBUG_ADDR
: Address to debug endpoint. Default: `0.0.0.0:9010`.
### ocis run
Runs an extension
Usage: `ocis run [command options] [arguments...]`
@@ -279,86 +279,22 @@ Usage: `ocis run [command options] [arguments...]`
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 storage-home
Start storage and data provider for /home mount
#### ocis version
Lists running services with version
#### ocis webdav
Start webdav server
#### ocis glauth
Start glauth server
#### ocis storage-groupprovider
Start storage groupprovider service
#### ocis ocs
Start ocs server
#### ocis storage-metadata
Start storage and data service for metadata
#### ocis proxy
Start proxy server
#### ocis settings
Start settings server
#### ocis storage-public-link
Start storage public link storage
#### ocis storage-userprovider
Start storage userprovider service
#### ocis store
#### ocis proxy
Start a go-micro store
Start proxy server
#### ocis thumbnails
#### ocis storage-metadata
Start thumbnails server
#### ocis web
Start web server
#### ocis idp
Start idp server
Start storage and data service for metadata
#### ocis storage-app-provider
Start storage app-provider service
#### ocis storage-auth-basic
Start storage auth-basic service
#### ocis storage-frontend
Start storage frontend
#### ocis accounts
Start accounts server
#### ocis storage-auth-bearer
Start storage auth-bearer service
#### ocis storage-gateway
Start storage gateway
@@ -367,7 +303,71 @@ Start storage gateway
Start storage sharing service
#### ocis version
Lists running services with version
#### ocis ocs
Start ocs server
#### ocis settings
Start settings server
#### ocis storage-auth-basic
Start storage auth-basic service
#### ocis storage-auth-bearer
Start storage auth-bearer service
#### ocis storage-frontend
Start storage frontend
#### ocis storage-public-link
Start storage public link storage
#### ocis web
Start web server
#### ocis glauth
Start glauth server
#### ocis accounts
Start accounts server
#### ocis store
Start a go-micro store
#### ocis idp
Start idp server
#### ocis storage-users
Start storage and data provider for /users mount
#### ocis thumbnails
Start thumbnails server
#### ocis storage-home
Start storage and data provider for /home mount
#### ocis storage-groupprovider
Start storage groupprovider service
#### ocis webdav
Start webdav server