Receiving Webhooks in Development with Ngrok and Docusign Discussion
Its a year late, so probably not still fresh on your mind, but I would love to see the embedded signature video. I am new to programming in general, so all the help visualizing is appreciated..
Had the same problem, but seems to be solved by using the https:// url from Ngrok instead of http://
Create JSON like so
signing_url_json = { userName: "something" email: email, recipientId: "1", clientUserId: 1, authenticationMethod: "email", returnUrl: url }
Then post that JSON to the endpoint
"/envelopes/#{envelopeId}/views/recipient", signing_url_json.to_json
I can go into much more detail if people want me to.
hey,
the tutorial is great,
but I have a problem when creating user and the envelope in the console with my local server connected to ngrok, the post request is not done http: //3f554bf3.eu.ngrok.iodocusign/webhooks.xml
For anyone following along using Rails 6.0 - an extra step is required.
If you seeing an error like:
Blocked host: a620ba29.ngrok.io
To allow requests to a620ba29.ngrok.io, add the following to your environment configuration:
config.hosts << "a620ba29.ngrok.io"
Open your config/environments/development.rb
file and add:
# Whitelist ngrok connections to development enviroment.
config.hosts << /[a-z0-9]+\.ngrok\.io/
This will whitelist the ngrok subdomain to access your rails host.
credit: Mike Rogers