-
Notifications
You must be signed in to change notification settings - Fork 76
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
File Picker with SAML user results in "Error: Invalid owner type" with User Migration app #882
Comments
For some additional information: If I use the file picker of another app, say "Photos", it works absolutely fine. However, even when logging in with a SAML account, I get a message from the "Photos" app saying "Could not load photos folder", with a similar error message in the Firefox console:
So this seems to be related. |
not sure whether this should be filed here or with user_migration. @come-nc do you have a rough idea perhaps? |
I'd say definitely this app since it happens with more apps than just the user_migration app. |
It does not mean this backend is necessarily responsible for whatever user_migration does. |
No, but like I just said, it happens with more than just that app. It happens with the File Picker / Folder Picker in general for some reason to a few apps, and it does not occur when I use OIDC as a backend instead, only SAML. |
Steps to reproduce
Expected behaviour
Realistically, when I open the file picker on a SAML user account, it should simply load and show all files that are present in the user's folder or folders they user has access to.
Actual behaviour
What happens instead is that, when opening the file picker on a SAML user account, it keeps on loading files indefinitely, with lots of errors being displayed in the Firefox console and also NextCloud logs (when set to Debug). This issue does not occur when using the file picker of a native NextCloud account, only with a SAML account. Refer to images below:
Native NextCloud account:
SAML account:
Server configuration
Operating system: Ubuntu 22.04 arm64
Web server: Apache2, NGINX as Reverse Proxy, Cloudflare as DNS & Firewall
Database: MySQL
PHP version: PHP 8.1.29 (cli) with FPM enabled
Nextcloud version: Nextcloud Hub 8 - 29.0.6
Where did you install Nextcloud from:
Community Projects - Web Installer
List of activated apps:
Nextcloud configuration:
Client configuration
Browser: Firefox 130.0
Operating system: Windows 11 Pro
Logs
Nextcloud log (data/owncloud.log)
nextcloud.log
Browser log
The text was updated successfully, but these errors were encountered: