title: Getting 'Consent Required' error despite successful permission grant using Oauth URL
body: <p>I am using the example from <a href="https://github.com/docusign/docusign-python-client" rel="nofollow noreferrer">https://github.com/docusign/docusign-python-client</a> (docusign python SDK). Despite granting access by logging in using the URL given by oauth_login_url below, the subsequent "api_client.configure_jwt_authorization_flow" call always results in 'consent_required' error. The corresponding integrator key is set up with right redirect URI and key pair (of which I use the private key as private_key_filename below). Note that the account is not associated to any Organization yet. I am not yet there. But I would expect this basic flow to work as is. Any idea what could be causing this error?</p>
  
  <pre><code>oauth_login_url = api_client.get_jwt_uri(integrator_key, redirect_uri, oauth_base_url)
  
  print(oauth_login_url)
  
    https://account-d.docusign.com/oauth/auth?response_type=code&amp;client_id=&lt;integrator_key&gt;&amp;scope=signature%2Bimpersonation&amp;redirect_uri=https%3A%2F%2Fwww.docusign.com%2Fapi
  
  integrator_key = "&lt;My INTEGRATOR_KEY1 from Docusign&gt;"
  redirect_uri = "https://www.docusign.com/api" &lt;== same as in the Integrator Key
  oauth_base_url = "account-d.docusign.com"
  private_key_filename = "/Users/myname/Desktop/private.key"
  user_id = "46933ecb-9aec-4fe3-8efe-7d5777ac9b54"   &lt;== Silly me, anonymized:) but to indicate I am not using email
  
  api_client.configure_jwt_authorization_flow(private_key_filename, oauth_base_url, integrator_key, user_id, 3600)
  
    Traceback (most recent call last):
       File "&lt;stdin&gt;", line 1, in &lt;module&gt;
       File "/Users/userme/projects/docudocu/lib/python2.7/site-packages/docusign_esign/api_client.py", line 118, in configure_jwt_authorization_flow
       post_params=self.sanitize_for_serialization({"assertion": assertion, "grant_type": "urn:ietf:params:oauth:grant-type:jwt-bearer"}))
       File "/Users/userme/projects/docudocu/lib/python2.7/site-packages/docusign_esign/api_client.py", line 418, in request body=body)
       File "/Users/userme/projects/docudocu/lib/python2.7/site-packages/docusign_esign/rest.py", line 244, in POST body=body)
       File "/Users/userme/projects/docudocu/lib/python2.7/site-packages/docusign_esign/rest.py", line 200, in request
       raise ApiException(http_resp=r)
  
       docusign_esign.rest.ApiException: (400)
       Reason: Bad Request
       HTTP response headers: HTTPHeaderDict({'X-DocuSign-Node': 'CH1DFE2', 'Content-Length': '28', 'Strict-Transport-Security': 'max-age=31536000; includeSubDomains; preload', 'X-Content-Type-Options': 'nosniff', 'Content-Type': 'application/json; charset=utf-8', 'Expires': '-1', 'Content-Security-Policy-Report-Only': "script-src 'unsafe-inline' 'unsafe-eval' 'self';style-src 'unsafe-inline' 'self';img-src https://docucdn-a.akamaihd.net/ 'self';font-src 'self';connect-src 'self';object-src 'none';media-src 'none';frame-src 'none';frame-ancestors 'none';report-uri /client-errors/csp", 'X-XSS-Protection': '1; mode=block', 'X-DocuSign-TraceToken': 'b009b0a6-19ad-4e58-844e-76fc5b509cbb', 'Pragma': 'no-cache', 'Cache-Control': 'no-cache', 'Date': 'Wed, 29 Nov 2017 22:52:10 GMT', 'X-Frame-Options': 'SAMEORIGIN', 'X-AspNetMvc-Version': '5.2'})
       HTTP response body: {"error":"consent_required"}
  </code></pre>