-
Notifications
You must be signed in to change notification settings - Fork 4
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
Implement webhook handling to listen to changes in Canto #11
Conversation
When a webhook is processed, no Neos user is active and thus no access token can be used. For those cases, switch to client credentials mode. Note: With this, the need for appId and appSecret in CantoAssetSource is already back. :)
Problem with this right now: changes to the filename are not reflected in the HTML output, e.g. in src attributes of img tags… |
# Conflicts: # Classes/Service/CantoClient.php # Configuration/Settings.yaml # README.md
Works fine now in the frontend. One glitch still exists: the thumbnail/preview in the Neos UI (inspector, media browser, media module) still show the original version of an asset. This is coming directly from the CDN at Canto/Cloudfront, so not much I can do. I am contacted their support, let's see… |
The preview is valid for one day, I learned from the Canto support. I suggested to invalidate it on asset change, let's see what happens. Nothing I can do right now to change that behaviour. |
No description provided.