-
Notifications
You must be signed in to change notification settings - Fork 25
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
Signing API / Cloudinary signing #1101
Conversation
Quality Gate passedKudos, no new issues were introduced! 0 New issues |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's mostly there.
I removed the warning in the cloudinary entry module.
The warning will be added to the _entries module once the cloudinary module can be removed after testing a cloudinary plugin to replace the existing module.
For now the current method should work and the plugin should override the current methods when loaded.
I get a warning in regards to third party cookies. These come from the image src request after an image has been uploaded with a signed URL.
These cookies should be removed if no longer needed.
@dbauszus-glx in to replicating the warning I see that res.cloudinary.com should not set a cookie (see cloudinary/cloudinary_npm#308 (comment)), which is the url for the the image request. Being logged in to cloudinary in a separate tab is what causes the warning. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is working now for me. I just had to ensure to clear the cache and remove old cloudinary cookies from browser.
What
Creates a new API for signing requests to third party services e.g cloudinary, s3, etc.
The signing API Initially will only support cloudinary.
Why
Signing requests and then letting the client make the call to the service will take some load off the backend as well
further decoupling some of these services from the backend.
How to test
Use this pull request along with the sign workspace on the bugs_testing branch.