Skip to main content
Blog
Home/

Trending Topics: Latest from our forums (August 2020)

Author Inbar Gazit
Inbar GazitSr. Manager, Developer Content and Advocacy
Summary3 min read

Trending Topics: Latest from our forums (August 2020)

    • Additional resources

    Table of contents

    Trending Topics

    Here are some of the latest popular questions that the Docusign developers community asked on Stack Overflow in the month of August 2020. You too can ask questions by using the tag docusignapi in Stack Overflow.

    Thread: Docusign OAuth Token Generator Broken?

    https://stackoverflow.com/questions/63401679/

    Summary: The developer was trying to use the token generator that we used to have in the Developer Center. They were getting an error.

    Answer: the token generator was an old tool that was used to generate OAuth tokens so that developers can make API calls. We decided to remove this tool in favor of a more robust approach to teaching developers how to use authentication correctly and providing them with tools (like QuickStart) to help them with their REST API development. In this particular case, clearing cookies helped the developer proceed with their issue.

    Thread: Docusign Authentication API Configuration in PostMan

    https://stackoverflow.com/questions/63339388/

    Summary: The developer is attempting to use Postman to make API calls into the Docusign eSignature REST API, and having issues with authentication to obtain a token.

    Answer: The newly released eSignature Postman collection supports authentication from both JWT as well as Auth Code Grant. However, JWT authentication cannot be used without first obtaining consent and, in any event, to use Postman, the developer would have to log in at least once into Docusign from outside Postman. 

    Thread: PHP / Docusign - Verify HMAC signature on completed event

    https://stackoverflow.com/questions/63230718/

    Summary: The developer is trying to receive information from Docusign via a Connect webhook. They are further securing the communication using an HMAC signature, but consistently getting an error validating the HMAC. 

    Answer: Getting the page body of a web request in PHP code is not as straightforward as one would expect. The developer was trying to use the file_get_contents('php://input') method to do so, but there’s another way showed in the Symphony APIs:

    use Symfony\Component\HttpFoundation\Request; 
    use Symfony\Component\HttpFoundation\ParameterBag; 
    $app->before(function (Request $request) { $payload = $request->getContent(); hmac_verify($payload, $secret); }); 
    

    This code would ensure that the payload containing the HMAC signature is indeed the one to compare, and would resolve the problem.

    Additional resources

    Author Inbar Gazit
    Inbar GazitSr. Manager, Developer Content and Advocacy

    Inbar Gazit has been with Docusign since 2013 in various engineering roles. Since 2019 he has focused on developer content and advocacy. Inbar works on code examples including the launchers, available on GitHub in eight languages, and helps build sample apps showcasing the various Docusign APIs. He is also active on Docusign Community and StackOverflow, answering your questions. Inbar can be reached at inbar.gazit@docusign.com.

    More posts from this author

    Related posts

    • Developers

      How to call the Navigator API from Agentforce for smarter agreements

      Author Paige Rossi
      Paige Rossi
      How to call the Navigator API from Agentforce for smarter agreements
    • Configuring Salesforce for scalable and secure Docusign integrations

      Author Achille Jean Axel Nisengwe
      Achille Jean Axel Nisengwe
      Configuring Salesforce for scalable and secure Docusign integrations
    • 2025 Developer Release 1: Build faster, agree smarter

      Author Amina Atlaf
      Amina Atlaf
      2025 Developer Release 1: Build faster, agree smarter

    How to call the Navigator API from Agentforce for smarter agreements

    Author Paige Rossi
    Paige Rossi
    How to call the Navigator API from Agentforce for smarter agreements

    Configuring Salesforce for scalable and secure Docusign integrations

    Author Achille Jean Axel Nisengwe
    Achille Jean Axel Nisengwe
    Configuring Salesforce for scalable and secure Docusign integrations

    2025 Developer Release 1: Build faster, agree smarter

    Author Amina Atlaf
    Amina Atlaf
    2025 Developer Release 1: Build faster, agree smarter

    Discover what's new with Docusign IAM or start with eSignature for free

    Explore Docusign IAMTry eSignature for Free
    Person smiling while presenting