commit 0f257af6e4
Author: Ralf Haferkamp <rhaferkamp@owncloud.com> Date: Thu Jul 14 12:23:20 2022 +0200 Align default login attribute across services Up to now the builtin lico was using the "username" as the login attribute, while the proxy (and to some extend the auth-basic) service tried to uniquely identify users by mail address. This aligns the default configuration of the services to use the username everywhere. Fixes: #4039
This commit is contained in:
1 parent
b72ceed850
commit
9af4913063
14 files changed
+16
-17
No files matched your search
@@ -1,7 +1,7 @@
|
||||
---
|
||||
title: "ocis.messages.search.v0"
|
||||
url: /grpc_apis/ocis_messages_search_v0
|
||||
date: 2022-07-14T12:18:17Z
|
||||
date: 2022-07-14T12:23:03Z
|
||||
weight: 50
|
||||
geekdocRepo: https://github.com/owncloud/ocis
|
||||
---
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
---
|
||||
title: "ocis.messages.settings.v0"
|
||||
url: /grpc_apis/ocis_messages_settings_v0
|
||||
date: 2022-07-14T12:18:17Z
|
||||
date: 2022-07-14T12:23:03Z
|
||||
weight: 50
|
||||
geekdocRepo: https://github.com/owncloud/ocis
|
||||
---
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
---
|
||||
title: "ocis.messages.store.v0"
|
||||
url: /grpc_apis/ocis_messages_store_v0
|
||||
date: 2022-07-14T12:18:17Z
|
||||
date: 2022-07-14T12:23:03Z
|
||||
weight: 50
|
||||
geekdocRepo: https://github.com/owncloud/ocis
|
||||
---
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
---
|
||||
title: "ocis.messages.thumbnails.v0"
|
||||
url: /grpc_apis/ocis_messages_thumbnails_v0
|
||||
date: 2022-07-14T12:18:17Z
|
||||
date: 2022-07-14T12:23:03Z
|
||||
weight: 50
|
||||
geekdocRepo: https://github.com/owncloud/ocis
|
||||
---
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
---
|
||||
title: "ocis.services.search.v0"
|
||||
url: /grpc_apis/ocis_services_search_v0
|
||||
date: 2022-07-14T12:18:17Z
|
||||
date: 2022-07-14T12:23:03Z
|
||||
weight: 50
|
||||
geekdocRepo: https://github.com/owncloud/ocis
|
||||
---
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
---
|
||||
title: "ocis.services.settings.v0"
|
||||
url: /grpc_apis/ocis_services_settings_v0
|
||||
date: 2022-07-14T12:18:17Z
|
||||
date: 2022-07-14T12:23:03Z
|
||||
weight: 50
|
||||
geekdocRepo: https://github.com/owncloud/ocis
|
||||
---
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
---
|
||||
title: "ocis.services.store.v0"
|
||||
url: /grpc_apis/ocis_services_store_v0
|
||||
date: 2022-07-14T12:18:17Z
|
||||
date: 2022-07-14T12:23:03Z
|
||||
weight: 50
|
||||
geekdocRepo: https://github.com/owncloud/ocis
|
||||
---
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
---
|
||||
title: "ocis.services.thumbnails.v0"
|
||||
url: /grpc_apis/ocis_services_thumbnails_v0
|
||||
date: 2022-07-14T12:18:17Z
|
||||
date: 2022-07-14T12:23:03Z
|
||||
weight: 50
|
||||
geekdocRepo: https://github.com/owncloud/ocis
|
||||
---
|
||||
|
||||
@@ -282,7 +282,7 @@ The object class to use for groups in the default group search filter ('groupOfN
|
||||
a| [subs=-attributes]
|
||||
+[]string+
|
||||
a| [subs=-attributes]
|
||||
pass:[[uid mail]]
|
||||
pass:[[uid]]
|
||||
a| [subs=-attributes]
|
||||
The user object attributes, that can be used for login.
|
||||
|
||||
|
||||
@@ -223,7 +223,7 @@ Account backend the PROXY service should use. Currently only 'cs3' is possible h
|
||||
a| [subs=-attributes]
|
||||
+string+
|
||||
a| [subs=-attributes]
|
||||
pass:[email]
|
||||
pass:[preferred_username]
|
||||
a| [subs=-attributes]
|
||||
The name of an OpenID Connect claim that should be used for resolving users with the account backend. Currently defaults to 'email'.
|
||||
|
||||
@@ -231,7 +231,7 @@ The name of an OpenID Connect claim that should be used for resolving users with
|
||||
a| [subs=-attributes]
|
||||
+string+
|
||||
a| [subs=-attributes]
|
||||
pass:[mail]
|
||||
pass:[username]
|
||||
a| [subs=-attributes]
|
||||
The name of a CS3 user attribute (claim) that should be mapped to the 'user_oidc_claim'. Currently defaults to 'mail'. Supported values are 'username' and 'displayname'.
|
||||
|
||||
|
||||
@@ -42,7 +42,6 @@ auth_providers:
|
||||
group_object_class: groupOfNames
|
||||
login_attributes:
|
||||
- uid
|
||||
- mail
|
||||
idp: https://localhost:9200
|
||||
user_schema:
|
||||
id: ownclouduuid
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
| LDAP_GROUP_FILTER<br/>AUTH_BASIC_LDAP_GROUP_FILTER | string | | LDAP filter to add to the default filters for group searches.|
|
||||
| LDAP_USER_OBJECTCLASS<br/>AUTH_BASIC_LDAP_USER_OBJECTCLASS | string | inetOrgPerson | The object class to use for users in the default user search filter ('inetOrgPerson').|
|
||||
| LDAP_GROUP_OBJECTCLASS<br/>AUTH_BASIC_LDAP_GROUP_OBJECTCLASS | string | groupOfNames | The object class to use for groups in the default group search filter ('groupOfNames'). |
|
||||
| LDAP_LOGIN_ATTRIBUTES<br/>AUTH_BASIC_LDAP_LOGIN_ATTRIBUTES | []string | [uid mail] | The user object attributes, that can be used for login.|
|
||||
| LDAP_LOGIN_ATTRIBUTES<br/>AUTH_BASIC_LDAP_LOGIN_ATTRIBUTES | []string | [uid] | The user object attributes, that can be used for login.|
|
||||
| OCIS_URL<br/>OCIS_OIDC_ISSUER<br/>AUTH_BASIC_IDP_URL | string | https://localhost:9200 | The identity provider value to set in the userids of the CS3 user objects for users returned by this user provider.|
|
||||
| LDAP_USER_SCHEMA_ID<br/>AUTH_BASIC_LDAP_USER_SCHEMA_ID | string | ownclouduuid | LDAP Attribute to use as the unique id for users. This should be a stable globally unique ID like a UUID.|
|
||||
| LDAP_USER_SCHEMA_ID_IS_OCTETSTRING<br/>AUTH_BASIC_LDAP_USER_SCHEMA_ID_IS_OCTETSTRING | bool | false | Set this to true if the defined 'id' attribute for users is of the 'OCTETSTRING' syntax. This is e.g. required when using the 'objectGUID' attribute of Active Directory for the user IDs.|
|
||||
|
||||
@@ -101,8 +101,8 @@ pre_signed_url:
|
||||
- GET
|
||||
enabled: true
|
||||
account_backend: cs3
|
||||
user_oidc_claim: email
|
||||
user_cs3_claim: mail
|
||||
user_oidc_claim: preferred_username
|
||||
user_cs3_claim: username
|
||||
machine_auth_api_key: ""
|
||||
auto_provision_accounts: false
|
||||
enable_basic_auth: false
|
||||
|
||||
@@ -27,8 +27,8 @@
|
||||
| OCIS_JWT_SECRET<br/>PROXY_JWT_SECRET | string | | The secret to mint and validate JWT tokens.|
|
||||
| PROXY_ENABLE_PRESIGNEDURLS | bool | true | Allow OCS to get a signing key to sign requests.|
|
||||
| PROXY_ACCOUNT_BACKEND_TYPE | string | cs3 | Account backend the PROXY service should use. Currently only 'cs3' is possible here.|
|
||||
| PROXY_USER_OIDC_CLAIM | string | email | The name of an OpenID Connect claim that should be used for resolving users with the account backend. Currently defaults to 'email'.|
|
||||
| PROXY_USER_CS3_CLAIM | string | mail | The name of a CS3 user attribute (claim) that should be mapped to the 'user_oidc_claim'. Currently defaults to 'mail'. Supported values are 'username' and 'displayname'.|
|
||||
| PROXY_USER_OIDC_CLAIM | string | preferred_username | The name of an OpenID Connect claim that should be used for resolving users with the account backend. Currently defaults to 'email'.|
|
||||
| PROXY_USER_CS3_CLAIM | string | username | The name of a CS3 user attribute (claim) that should be mapped to the 'user_oidc_claim'. Currently defaults to 'mail'. Supported values are 'username' and 'displayname'.|
|
||||
| OCIS_MACHINE_AUTH_API_KEY<br/>PROXY_MACHINE_AUTH_API_KEY | string | | Machine auth API key used to validate internal requests necessary to access resources from other services.|
|
||||
| PROXY_AUTOPROVISION_ACCOUNTS | bool | false | Set this to 'true' to automatically provsion users that do not yet exist in the users service on-demand upon first signin. To use this a write-enabled libregraph user backend needs to be setup an running.|
|
||||
| PROXY_ENABLE_BASIC_AUTH | bool | false | Set this to true to enable 'basic' (username/password) authentication.|
|
||||
|
||||
Reference in new issue
Block a user