-
Notifications
You must be signed in to change notification settings - Fork 55
Expand file tree
/
Copy pathds_config.py
More file actions
31 lines (30 loc) · 1.6 KB
/
Copy pathds_config.py
File metadata and controls
31 lines (30 loc) · 1.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# ds_config.py
#
# DocuSign configuration settings
import os
DS_CONFIG = {
"ds_client_id": "{CLIENT_ID}", # The app's DocuSign integration key
"ds_client_secret": "{CLIENT_SECRET}", # The app's DocuSign integration key's secret
"signer_email": "{USER_EMAIL}",
"signer_name": "{USER_FULLNAME}",
"app_url": "{APP_URL}", # The url of the application. Eg http://localhost:5000
# NOTE: You must add a Redirect URI of appUrl/ds/callback to your Integration Key.
# Example: http:#localhost:5000/ds/callback
"authorization_server": "https://account-d.docusign.com",
"session_secret": "{SESSION_SECRET}", # Secret for encrypting session cookie content
# Use any random string of characters
"allow_silent_authentication": True, # a user can be silently authenticated if they have an
# active login session on another tab of the same browser
"target_account_id": None, # Set if you want a specific DocuSign AccountId,
# If None, the user's default account will be used.
"demo_doc_path": "demo_documents",
"doc_salary_docx": "World_Wide_Corp_salary.docx",
"doc_docx": "World_Wide_Corp_Battle_Plan_Trafalgar.docx",
"doc_pdf": "World_Wide_Corp_lorem.pdf",
# Payment gateway information is optional
"gateway_account_id": "{DS_PAYMENT_GATEWAY_ID}",
"gateway_name": "stripe",
"gateway_display_name": "Stripe",
"github_example_url": "https://github.com/docusign/eg-03-python-auth-code-grant/tree/master/app/",
"documentation": "" # Use an empty string to indicate no documentation path.
}