Support » Plugin: SendGrid » Plugin doesn’t work with cloudfront securely rules

  • Hi support,

    – We have the following scenario using Amazon AWS infrastructure:

    
    ----------    -----------    --------------------    ------------------    ---------------
    | RDS/DB | <- | EC2/WEB | <- | ELB/LoadBalancer | <- | Cloudfront/CDN | <- | Route53/DNS |
    ----------    -----------    --------------------    ------------------    ---------------
    

    – Cloudfront has the a default rule that is as follow:
    Any request made by the client that does not fit the previous rules will be sent to the LoadBalancer but only if it is a GET or HEAD method. This is for security to ensure no one can make POST requests on any path witch it not previously determined. This is an issue for us to use your plugin because the form in the plugin sends the POST request to, for example, “blog.example.com/#sendgrid_mc_email_subscribe”. For cloudfront the “#sendgrid_mc_email_subscribe” action is not a path so it uses the “blog.example.com/” as rule. This, in turn, blocks the request made because it’s, very correctly, a POST request.
    – I want to ask if its possible to alter the plugin to send the request with some path so the request change to “blog.example.com/some_path/#sendgrid_mc_email_subscribe”. This would fix the problem completely and we would be allowed to create an specific rule just for it.

    Best regards,

    • This topic was modified 7 years, 6 months ago by heliocampos.
    • This topic was modified 7 years, 6 months ago by heliocampos.
    • This topic was modified 7 years, 6 months ago by heliocampos.
Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin needs to post to /some_path/ & return back to homepage together with calling #hash, to be able to jump to the anchor in the page in order to display success msg.

    Problem with this anchor is that its non customizable. I got a page with 2 registration forms and both of the will call the same #anchor.

    Plugin Author Twilio SendGrid

    (@team-rs)

    Hi heliocampos,

    We will investigate this and we’ll get back to you with a possible solution, if any.

    Thank you,
    SendGrid

    Hi @team-rs. Thank you for returning to us.
    I just got an idea. Is it possible to use contact-form-7 to send emails using sendgrid platform?

    Plugin Author Twilio SendGrid

    (@team-rs)

    Hi @neoswf,

    Please open a new thread for this issue. You can send email via contact-form-7 using SendGrid but you must have both plugins installed, activated and correctly configured.

    Thank you,
    SendGrid

    Thread Starter heliocampos

    (@heliocampos)

    Hi @team-rs,

    – Did you have time to think about this topic os using the sendgrid plugin with cloudfront? Do you need more information, tests, and/or images that could help?

    Best regards,

    Thread Starter heliocampos

    (@heliocampos)

    Hi @team-rs,

    – Did you have time to think about use the sendgrid plugin with cloudfront securely? Do you need more information, tests, and/or images that could help?

    Best regards,

    Hi @team-rs, any idea when this topic will be resolved? We really need the plugin working on my blog.

    Plugin Author Twilio SendGrid

    (@team-rs)

    Hi,

    At the moment the POST is made in the current page and we don’t have a solution on how to change that at this time.

    If you are in the page ‘/contact/’ the POST will be made under the same route: ‘/contact#sendgrid_mc_email_subscribe’

    We will still investigate to see if WordPress recommends any solutions on this exact matter.

    Thank you,
    SendGrid

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Plugin doesn’t work with cloudfront securely rules’ is closed to new replies.