-
Notifications
You must be signed in to change notification settings - Fork 184
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
Thumbnails service not working with other Identity Providers #1624
Labels
Comments
Can be reproduced with our Keycloak setup on https://ocis.ocis-keycloak.released.owncloud.works. Uploading a picture does not show a preview and does not display it in the mediaviewer. |
@phil-davis are there any tests covering the preview creation? |
There are but not with different IDPs at the moment IIRC. |
maybe #1385 should be considered when tackling this |
quickfix landed in ocis master with #1628 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Running from OCIS at master tip.
The problem is due to a hardcoded value of the thumbnails service, that makes previews only when OCIS runs its own IdP which may not be the case in most of production deployments.
https://github.com/owncloud/ocis/blob/master/thumbnails/pkg/service/v0/service.go#L109
I suggest to re-use the following environment variables in the thumbnails service (that depends directly on the Storage).
Stacktrace below:
The text was updated successfully, but these errors were encountered: