nextcloud-oidc-login
nextcloud-oidc-login copied to clipboard
Delete old passwords
We've noticed that some of our are having issues while connecting to their Nextcloud calendar on their iPhone.
After some head scratching, we've understood that these users were already presents on our installation before we use OpenID Connect Login app ! So somewhere they still have their old password set.
How can we deal with that ? Is there a way to reset these users' old password so that they can use their new one ?
Thanks in advance ! Michel
Maybe my question does not make sense ? Thanks to let me know if this is the case ! :-)
In general, it should not matter. This app doesn't use any "passwords"; if a new user is created then a 30-character random password is generated for that user and forgotten forever. If you really want to reset passwords, you probably need to do this manually from the admin interface or write a small script.
Thanks for your answer.
Here it is quite specific : only when when using an iPhone to connect to the webdav endpoint of Nextcloud, for user that exist before we use your app. In this case only, we have to use the old password.
So we wander how to clean / sync the old with the new.
Did you set oidc_login_webdav_enabled
to true
in Nextcloud's config.php
?
Consider these parameters from the README:
// Enable use of WebDAV via OIDC bearer token.
'oidc_login_webdav_enabled' => false,
// Enable authentication with user/password for DAV clients that do not
// support token authentication (e.g. DAVx⁵)
'oidc_login_password_authentication' => false,