Skip to content

App breaks with the Nextcloud next stable version (master branch) #612

@saw-jan

Description

@saw-jan

Describe the bug
oidc app doesn't work with the next stable version of Nextcloud. There was a change in the Entity recently, see nextcloud/server#56795

Error log:

{
  "reqId": "zbfgp2sfhCn3kFSljd6l",
  "level": 3,
  "time": "2026-01-12T06:12:50+00:00",
  "remoteAddr": "172.24.0.5",
  "user": "admin",
  "app": "PHP",
  "method": "POST",
  "url": "/index.php/apps/oidc/clients",
  "scriptName": "/index.php",
  "message": "Type of OCA\\OIDCIdentityProvider\\Db\\Client::$id must be string|int|null (as in class OCP\\AppFramework\\Db\\Entity) at /var/www/html/custom_apps/oidc/lib/Db/Client.php#42",
  "userAgent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36",
  "version": "33.0.0.8",
  "data": {
    "app": "PHP"
  }
}

To Reproduce
Steps to reproduce the behavior:

  1. Start Nextcloud server using the master branch
  2. Enable oidc app
  3. Try to add a OIDC client

Expected behavior
App works with the next server stable version

Screenshots

Image

Nextcloud Server (please complete the following information):

  • Version: Nextcloud Hub 25 Autumn (33.0.0 beta 2)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions