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

[Request] Custom callback for getSignedURL #340

Open
darylteo opened this issue Jul 5, 2018 · 2 comments
Open

[Request] Custom callback for getSignedURL #340

darylteo opened this issue Jul 5, 2018 · 2 comments
Assignees

Comments

@darylteo
Copy link

darylteo commented Jul 5, 2018

To facilitate a drop-in replacement for our existing code without changing our server side code, we'd like to have a way to customise the getSignedURL functionality so that we have the opportunity to take our existing response schema and map it to the signature response data the plugin requires to send the file to S3.

This could be coded in a similar way to the signingURL property.

  getSignedURL: (signUrl) => $.post('signUrl').then((response) => ({
    signature: response.someotherthing, // as a simple example
  });

Required for non-cookie based authentication workflows.

@vrajroham
Copy link
Collaborator

@darylteo This makes sense to me. I'll check if I can modify or introduce something which will satisfy this request.

@adnanmuttaleb
Copy link

Anything new for this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants