You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -54,11 +54,11 @@ For a list of code examples that use the Monitor API, select the Python tab unde
54
54
55
55
To use [Authorization Code Grant](https://developers.docusign.com/platform/auth/authcode/), you will need an integration key and a secret key. See [Installation steps](#installation-steps) for details.
56
56
57
-
To use [JWT Grant](https://developers.docusign.com/platform/auth/jwt/), you will need an integration key, an RSA key pair, and the API Username GUID of the impersonated user. See [Installation steps for JWT Grant authentication](#installation-steps-for-jwt-grant-authentication) for details.
57
+
To use [JWT Grant](https://developers.docusign.com/platform/auth/jwt/), you will need an integration key, an RSA key pair, and the User ID GUID of the impersonated user. See [Installation steps for JWT Grant authentication](#installation-steps-for-jwt-grant-authentication) for details.
58
58
59
59
For both authentication flows:
60
60
61
-
If you use this launcher on your own workstation, the integration key must include redirect a URI of http://localhost:5000/ds/callback
61
+
If you use this launcher on your own workstation, the integration key must include a redirect URI of http://localhost:5000/ds/callback
62
62
63
63
If you host this launcher on a remote web server, set your redirect URI as
64
64
@@ -95,19 +95,19 @@ Also, in order to select JSON Web Token authentication in the launcher, in app/d
95
95
1. In your command-line environment, switch to the folder: `cd <Quickstart folder>` or `cd code-examples-python`
96
96
1. To install dependencies, run: `pip3 install -r requirements.txt` (or pipenv can be used)
97
97
1. To configure the launcher for [JWT Grant](https://developers.docusign.com/platform/auth/jwt/) authentication, create a copy of the file app/ds_config_sample.py and save the copy as app/ds_config.py.
98
-
1. Add your API Username. On the [Apps and Keys](https://admindemo.docusign.com/authenticate?goTo=apiIntegratorKey) page, under **My Account Information**, copy the **API Username** GUID and save it in ds_config.py as your `ds_impersonated_user_id`.
98
+
1. Add your User ID. On the [Apps and Keys](https://admindemo.docusign.com/authenticate?goTo=apiIntegratorKey) page, under **My Account Information**, copy the **User ID** GUID and save it in ds_config.py as your `ds_impersonated_user_id`.
99
99
1. Add your integration key. On the [Apps and Keys](https://admindemo.docusign.com/authenticate?goTo=apiIntegratorKey) page, under **Apps and Integration Keys**, choose the app to use, then select **Actions > Edit**. Under **General Info**, copy the **Integration Key** GUID and save it in ds_config.py as your `ds_client_id`.
100
100
1. Generate an RSA key pair, if you don’t already have one. Under **Authentication**, select **+ GENERATE RSA**. Copy the private key, and save it in a new file named app/private.key.
101
101
1. Add the launcher’s redirect URI. Under **Additional settings**, select **+ ADD URI**, and set a redirect URI of http://localhost:5000/ds/callback. Select **SAVE**.
102
102
1. Set a name and email address for the signer. In ds_config.py, save an email address as `signer_email` and a name as `signer_name`.
103
-
**Note:** Protect your personal information. Please make sure that ds_config.py will not be stored in your source code repository.
103
+
**Note:** Protect your personal information. Please make sure that your ds_config.py and private.key files will not be stored in your source code repository.
104
104
1. Run the launcher:`python run.py`
105
105
**Note:** You will need to alias the python command to run Python 3 or use `python3 run.py`
106
106
1. Open a browser to http://localhost:5000
107
107
1. On the black navigation bar, select **Login**.
108
108
1. From the picklist, select **JSON Web Token** > **Authenticate with DocuSign**.
109
109
1. When prompted, log in to your DocuSign developer account. If this is your first time using the app, select **ACCEPT** at the consent window.
0 commit comments