forked from IntuitDeveloper/SampleApp-QuickBooksV3API-Python
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.py
More file actions
30 lines (23 loc) · 880 Bytes
/
config.py
File metadata and controls
30 lines (23 loc) · 880 Bytes
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
DEBUG = False
SQLALCHEMY_ECHO = False
# Specify which OAuth your app uses; default is OAuth2
# Change this flag to 1 for OAUth1 apps
AUTH_TYPE = 'OAuth2'
# AUTH_TYPE = 'OAuth1'
# OAuth2
CLIENT_ID= 'EnterClientIDHere'
CLIENT_SECRET = 'EnterClientSecretHere'
REDIRECT_URI = 'http://localhost:5000/callback'
# OAuth1
CONSUMER_KEY = 'EnterConsumerKeyHere'
CONSUMER_SECRET = 'EnterConsumerSecretHere'
# OAuth1 Base URLs
OAUTH1_BASE = 'https://oauth.intuit.com'
REQUEST_TOKEN_URL = 'https://oauth.intuit.com/oauth/v1/get_request_token'
ACCESS_TOKEN_URL = 'https://oauth.intuit.com/oauth/v1/get_access_token'
AUTHORIZE_URL = 'https://appcenter.intuit.com/Connect/Begin'
# Choose environment; default is sandbox
ENVIRONMENT = 'Sandbox'
# ENVIRONMENT = 'Production'
# Set to latest at the time of updating this app, can be be configured to any minor version
API_MINORVERSION = '23'