System:
docker based NextcloudAIO
App affected: user_oidc
I am able to use the app with
'user_oidc' => [
'auto_provision' => true,
],
But I need to disable adding users automatically, setting the value to false raises an Access forbidden Error.
Hi,
I have enbled user_oidc
- and i can log-in with my provider, but I need to create users manually and avoid user_oidc
auto-provisioning.
I tried to create an user manually from the NextCloud Admin interface, and the set auto-provisioning to false in my config.php
by adding:
'user_oidc' => [
'auto_provision' => false,
],
But then, when I try to log-in with my provider, user_oidc
is refusing to log-in and prompt me to the following message:
Access forbidden
Failed to provision the user
Am I doing something wrong?
maybe somethinbg missing in the way how I configure user_oidc
?
I left empty the following section:
Attribute mapping
User ID mapping
And I have the following as scope
:
openid email profile
Thanks for any help!
— edit —
I see from the docs:
When soft_auto_provision is disabled
We refuse Oidc login of users that already exist in other backends
Does this means that if I manually create a user, I can not use OIDC login?
It looks like OIDC is not detecting that the user already exist … I am probably missing something in the settings
crossposting the topic, – I opened an issue on:
unable to disable 'auto_provision' · Issue #869 · nextcloud/user_oidc · GitHub