Skip to content
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

Merged
merged 10 commits into from
Jan 19, 2022

Conversation

kdambekalns
Copy link
Member

No description provided.

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. :)
@kdambekalns kdambekalns self-assigned this Sep 24, 2021
@kdambekalns
Copy link
Member Author

Problem with this right now: changes to the filename are not reflected in the HTML output, e.g. in src attributes of img tags…

@kdambekalns kdambekalns marked this pull request as ready for review December 17, 2021 16:23
@kdambekalns
Copy link
Member Author

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…

@kdambekalns
Copy link
Member Author

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.

@kdambekalns kdambekalns merged commit 0b62729 into main Jan 19, 2022
@kdambekalns kdambekalns deleted the feature/webhooks branch January 19, 2022 16:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant