-
Notifications
You must be signed in to change notification settings - Fork 2
/
sample_config.py
24 lines (19 loc) · 1 KB
/
sample_config.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# secret key for the application used in session
secret_key = "a long random string; see python UUID"
# the URL pointing to the sweet store this application will sweet to
swtstoreURL = 'http://sweet/store/url'
# the URL at which your application is hosted
# when you are deploying the app locally, by default this should be
#app_url= 'http://localhost:5000'
app_url = 'http://yourapplication.domain'
# the app_id or client_id you have recieved when you registered this
# application to swtstore
app_id = 'the app_id or client_id'
# the app_secret or client_secret you have recieved when you registered this
# application to swtstore
app_secret = 'the app_secret or client_secret'
# the absolute url of the OAuth2.0 redirect endpoint
# this is the endpoint where the second part of the oauth handshake happen and
# the endpoint passes the client secret and the recvd code for the final call
# to recieve the OAuth token. For this app, the endpoint is /authenticate
redirect_uri = 'http://yourapplication.domain/authenticate'