| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
This repo is a Python 3 application that demonstrates:
A DocuSign Developer Sandbox account (email and password) on demo.docusign.net. Create a free account.
A DocuSign Integration Key (a client ID) that is configured to use the OAuth Authorization Code flow. You will need the Integration Key itself, and its secret.
If you use this example on your own workstation, the Integration key must include a Redirect URI of http://localhost:5000/ds/callback
If you will not be running the example on your own workstation, use the appropriate DNS name and port instead of localhost
This video demonstrates how to create an Integration Key (client id) for a user application like this example. Note that the redirect url for your Integration Key will be http://localhost:5000/ds/callback if you use the default Python settings.
Python 3.
A name and email for a signer, and a name and email for a cc recipient.
Download or clone this repository to your workstation to directory eg-03-python-auth-code-grant
cd eg-03-python-auth-code-grant
pip3 install -r requirements.txt (or pipenv can be used)
Update the file app/ds_config.py with the Integration Key and other settings.
Note: Protect your Integration Key and secret--you should ensure that ds_config.py file will not be stored in your source code repository.
python3 run.py
Open a browser to http://localhost:5000
To use the payments example, create a test payments gateway for your developer sandbox account.
See the PAYMENTS_INSTALLATION.md file for instructions.
Then add the payment gateway account id to the app/ds_config.py file.
The examples in this repository can also be used with either the Implicit Grant or JWT OAuth flows. See the Authentication guide for information on choosing the right authentication flow for your application.
This repository uses the MIT License. See the LICENSE file for more information.
Pull requests are welcomed. Pull requests will only be considered if their content uses the MIT License.
| Back | FazBrowse Home | New Git URL |