#Weird Issue with SAML in Nextcloud 26

1 messages · Page 1 of 1 (latest)

alpine tulip
#

I have just updated to Nextcloud 26 today and somehow the SAML Integration does not send passwords anymore when login in to Nextcloud.

I get an internal server error, when I try to login with Authentik, which was working fine with the version 25.x before. The nextcloud.log states:

"message": "OCA\Password_Policy\ComplianceService::entryControl(): Argument #2 ($password) must be of type string, null given, called in /var/www/html/apps/password_policy/lib/Listener/BeforeUserLoggedInEventListener.php on line 45",

"Trace": [
  {
    "file": "/var/www/html/apps/password_policy/lib/Listener/BeforeUserLoggedInEventListener.php",
    "line": 45,
    "function": "entryControl",
    "class": "OCA\\Password_Policy\\ComplianceService",
    "type": "->",
    "args": [
      "name.surname",
      null
    ]

So apparently Authentik now sends an empty string instead of a password.

alpine tulip
#

Thank you very much! This fixed it

#

I was already thinking about switching to OIDC 😄

maiden tulip
#

I disabled the password policy app and I am still having the internal server error

alpine tulip
#

The one I had or another one? What does the logging say?

maiden tulip
#

I restored a backup so I no longer have logs but I kept getting internal server error, even after disabling the password policy app