Merge pull request #4981 from owncloud/auth_basic_readme_fix_env_var_rename

[docs-only] Auth basic readme fix env var rename
This commit is contained in:
Martin
2022-11-04 13:19:36 +01:00
committed by GitHub
3 changed files with 3 additions and 2 deletions
@@ -3,3 +3,4 @@ Enhancement: Rename AUTH_BASIC_AUTH_PROVIDER envvar
Rename the `AUTH_BASIC_AUTH_PROVIDER` envvar to `AUTH_BASIC_AUTH_MANAGER`
https://github.com/owncloud/ocis/pull/4966
https://github.com/owncloud/ocis/pull/4981
+1 -1
View File
@@ -12,7 +12,7 @@ Since the `auth-basic` service does not do any validation itself, it needs to be
### LDAP Auth Manager
Setting `AUTH_BASIC_AUTH_PROVIDER` to `"ldap"` will configure the `auth-basic` service to use LDAP as auth manager. This is the recommended option for running in a production and testing environment. More details on how to configure LDAP with ocis can be found in the admin docs.
Setting `AUTH_BASIC_AUTH_MANAGER` to `"ldap"` will configure the `auth-basic` service to use LDAP as auth manager. This is the recommended option for running in a production and testing environment. More details on how to configure LDAP with ocis can be found in the admin docs.
### Other Auth Managers
+1 -1
View File
@@ -19,7 +19,7 @@ type Config struct {
Reva *shared.Reva `yaml:"reva"`
SkipUserGroupsInToken bool `yaml:"skip_user_groups_in_token" env:"AUTH_BASIC_SKIP_USER_GROUPS_IN_TOKEN" desc:"Disables the encoding of the user's group memberships in the reva access token. This reduces the token size, especially when users are members of a large number of groups."`
AuthProvider string `yaml:"auth_provider" env:"AUTH_BASIC_AUTH_MANAGER" desc:"The authentication provider to check if credentials are valid. Supported value is 'ldap'."`
AuthProvider string `yaml:"auth_provider" env:"AUTH_BASIC_AUTH_MANAGER" desc:"The authentication manager to check if credentials are valid. Supported value is 'ldap'."`
AuthProviders AuthProviders `yaml:"auth_providers"`
Supervised bool `yaml:"-"`