nextcloud / user_oidc

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

Configure user provisioning through the bearer token with the occ command #985

Open bdovaz opened 4 days ago

bdovaz commented 4 days ago

How to use GitHub


Feature request

Which Nextcloud Version are you currently using: (see administration page)

30.0.2

Is your feature request related to a problem? Please describe.

In the command to create or update a provider, the “Auto provision user when accessing API and WebDav with Bearer token” option cannot be configured.

https://github.com/nextcloud/user_oidc/blob/main/lib/Command/UpsertProvider.php#L30

Describe the solution you'd like

That it can be configured through the command.

Describe alternatives you've considered

Using config:app:set command: https://docs.nextcloud.com/server/latest/admin_manual/occ_command.html#config-commands

Seeing that this API is used in this service (config->get/setAppValue): https://github.com/nextcloud/user_oidc/blob/main/lib/Service/ProviderService.php

Additional context

I don't know if there are more such inconsistencies, in the sense that there are options in the UI that are not configurable with the command provided by this app without having to use config:app:set generic command.