nextcloud / user_oidc

OIDC connect user backend for Nextcloud
GNU Affero General Public License v3.0
76 stars 29 forks source link

Allow to disable default quota, displayName, groups and email claims #883

Closed julien-nc closed 1 week ago

julien-nc commented 2 weeks ago

Even if an Oidc client is configured with no attribute mapping for quota, email, displayName or groups, those claims are included by default.

This allows using a global config switch (in config.php) to disable those default claims and only use them if a mapping is set in the client's settings (user_oidc's admin settings).

Default claims are enabled by default (to not break existing setups).