diff --git a/grpc_apis/ocis/messages/search/v0/grpc.md b/grpc_apis/ocis/messages/search/v0/grpc.md
index 0c63622160c..09e717ddd1d 100644
--- a/grpc_apis/ocis/messages/search/v0/grpc.md
+++ b/grpc_apis/ocis/messages/search/v0/grpc.md
@@ -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
---
diff --git a/grpc_apis/ocis/messages/settings/v0/grpc.md b/grpc_apis/ocis/messages/settings/v0/grpc.md
index 98f6051a067..0fda75f059d 100644
--- a/grpc_apis/ocis/messages/settings/v0/grpc.md
+++ b/grpc_apis/ocis/messages/settings/v0/grpc.md
@@ -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
---
diff --git a/grpc_apis/ocis/messages/store/v0/grpc.md b/grpc_apis/ocis/messages/store/v0/grpc.md
index a677cca5ce7..849e8e52ac6 100644
--- a/grpc_apis/ocis/messages/store/v0/grpc.md
+++ b/grpc_apis/ocis/messages/store/v0/grpc.md
@@ -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
---
diff --git a/grpc_apis/ocis/messages/thumbnails/v0/grpc.md b/grpc_apis/ocis/messages/thumbnails/v0/grpc.md
index d6170d64ad5..9c01a63d204 100644
--- a/grpc_apis/ocis/messages/thumbnails/v0/grpc.md
+++ b/grpc_apis/ocis/messages/thumbnails/v0/grpc.md
@@ -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
---
diff --git a/grpc_apis/ocis/services/search/v0/grpc.md b/grpc_apis/ocis/services/search/v0/grpc.md
index c1e3405f0b6..d5e5e1038da 100644
--- a/grpc_apis/ocis/services/search/v0/grpc.md
+++ b/grpc_apis/ocis/services/search/v0/grpc.md
@@ -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
---
diff --git a/grpc_apis/ocis/services/settings/v0/grpc.md b/grpc_apis/ocis/services/settings/v0/grpc.md
index 12a15569a50..aa48b183fa5 100644
--- a/grpc_apis/ocis/services/settings/v0/grpc.md
+++ b/grpc_apis/ocis/services/settings/v0/grpc.md
@@ -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
---
diff --git a/grpc_apis/ocis/services/store/v0/grpc.md b/grpc_apis/ocis/services/store/v0/grpc.md
index 6613f42a1b1..6d3bb668db3 100644
--- a/grpc_apis/ocis/services/store/v0/grpc.md
+++ b/grpc_apis/ocis/services/store/v0/grpc.md
@@ -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
---
diff --git a/grpc_apis/ocis/services/thumbnails/v0/grpc.md b/grpc_apis/ocis/services/thumbnails/v0/grpc.md
index a4b122b331a..21c9dcbbf7e 100644
--- a/grpc_apis/ocis/services/thumbnails/v0/grpc.md
+++ b/grpc_apis/ocis/services/thumbnails/v0/grpc.md
@@ -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
---
diff --git a/services/_includes/adoc/auth-basic_configvars.adoc b/services/_includes/adoc/auth-basic_configvars.adoc
index fc6ef5d5082..0ca48272d02 100644
--- a/services/_includes/adoc/auth-basic_configvars.adoc
+++ b/services/_includes/adoc/auth-basic_configvars.adoc
@@ -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.
diff --git a/services/_includes/adoc/proxy_configvars.adoc b/services/_includes/adoc/proxy_configvars.adoc
index 379e3d24bbb..49ed59b702d 100644
--- a/services/_includes/adoc/proxy_configvars.adoc
+++ b/services/_includes/adoc/proxy_configvars.adoc
@@ -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'.
diff --git a/services/_includes/auth-basic-config-example.yaml b/services/_includes/auth-basic-config-example.yaml
index 206d2adddc9..2b018a838c1 100644
--- a/services/_includes/auth-basic-config-example.yaml
+++ b/services/_includes/auth-basic-config-example.yaml
@@ -42,7 +42,6 @@ auth_providers:
group_object_class: groupOfNames
login_attributes:
- uid
- - mail
idp: https://localhost:9200
user_schema:
id: ownclouduuid
diff --git a/services/_includes/auth-basic_configvars.md b/services/_includes/auth-basic_configvars.md
index 235ffdbc022..18e843d3503 100644
--- a/services/_includes/auth-basic_configvars.md
+++ b/services/_includes/auth-basic_configvars.md
@@ -33,7 +33,7 @@
| LDAP_GROUP_FILTER
AUTH_BASIC_LDAP_GROUP_FILTER | string | | LDAP filter to add to the default filters for group searches.|
| LDAP_USER_OBJECTCLASS
AUTH_BASIC_LDAP_USER_OBJECTCLASS | string | inetOrgPerson | The object class to use for users in the default user search filter ('inetOrgPerson').|
| LDAP_GROUP_OBJECTCLASS
AUTH_BASIC_LDAP_GROUP_OBJECTCLASS | string | groupOfNames | The object class to use for groups in the default group search filter ('groupOfNames'). |
-| LDAP_LOGIN_ATTRIBUTES
AUTH_BASIC_LDAP_LOGIN_ATTRIBUTES | []string | [uid mail] | The user object attributes, that can be used for login.|
+| LDAP_LOGIN_ATTRIBUTES
AUTH_BASIC_LDAP_LOGIN_ATTRIBUTES | []string | [uid] | The user object attributes, that can be used for login.|
| OCIS_URL
OCIS_OIDC_ISSUER
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
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
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.|
diff --git a/services/_includes/proxy-config-example.yaml b/services/_includes/proxy-config-example.yaml
index 7908258dfa7..05e84cddc63 100644
--- a/services/_includes/proxy-config-example.yaml
+++ b/services/_includes/proxy-config-example.yaml
@@ -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
diff --git a/services/_includes/proxy_configvars.md b/services/_includes/proxy_configvars.md
index 33985390349..0d6950bf76d 100644
--- a/services/_includes/proxy_configvars.md
+++ b/services/_includes/proxy_configvars.md
@@ -27,8 +27,8 @@
| OCIS_JWT_SECRET
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
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.|