Skip to content

Commit 8e7bc0c

Browse files
authored
Merge pull request #6 from rajaramsrn/master
get_jwt_uri() makes a Grant URI with "+" (i.e. %2B) delimited permiss…
2 parents db795cd + 61fb828 commit 8e7bc0c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docusign_esign/api_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ def set_default_header(self, header_name, header_value):
100100
self.default_headers[header_name] = header_value
101101

102102
def get_jwt_uri(self, client_id, redirect_uri, oauth_base_path):
103-
return "https://" + oauth_base_path + "/oauth/auth" + "?" + "response_type=code&" + "client_id=" + quote(client_id, safe="") + "&" + "scope=" + quote("signature+impersonation", safe="") + "&" + "redirect_uri=" + quote(redirect_uri, safe="")
103+
return "https://" + oauth_base_path + "/oauth/auth" + "?" + "response_type=code&" + "client_id=" + quote(client_id, safe="") + "&" + "scope=" + quote("signature impersonation", safe="") + "&" + "redirect_uri=" + quote(redirect_uri, safe="")
104104

105105
def configure_jwt_authorization_flow(self, private_key_filename, oauth_base_path, client_id, user_id, expires_in):
106106
now = math.floor(time())

0 commit comments

Comments
 (0)