Skip to content

Commit 2634640

Browse files
committed
Merge branch 'hotfix/flask-example_v2.1.2'
2 parents ac3c671 + 65b68ac commit 2634640

File tree

4 files changed

+9
-6
lines changed

4 files changed

+9
-6
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,9 @@ JSON_SORT_KEYS : By default Flask will serialize JSON objects in a way that the
8686
- [reference¶](http://flask.pocoo.org/docs/0.12/config/)
8787

8888

89+
#### OAuth setup
90+
add your `client_id` and `client_secret` into config file.
91+
8992
## Run Flask
9093
### Run flask for develop
9194
```

webapp/app/config.Development.cfg

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ LOGGER_LEVEL = 20 ## CRITICAL=50, ERROR=40, WARNING=30, INFO=20, DEBUG=10, N
2121

2222

2323
## Google OAuth Setting
24-
GOOGLE_CLIENT_ID = '198819941616-3l2vvin50bcdqck480vnip35vdt009u0.apps.googleusercontent.com'
25-
GOOGLE_CLIENT_SECRET = 'TXbHEjrs8zAPWtEMbWdeLRBP'
24+
GOOGLE_CLIENT_ID = ''
25+
GOOGLE_CLIENT_SECRET = ''
2626

2727

2828
## db setting

webapp/app/config.Production.cfg

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ JSON_AS_ASCII = 'false'
1313
CORS_ORIGIN = '*'
1414

1515
## Google OAuth Setting
16-
GOOGLE_CLIENT_ID = '198819941616-3l2vvin50bcdqck480vnip35vdt009u0.apps.googleusercontent.com'
17-
GOOGLE_CLIENT_SECRET = 'TXbHEjrs8zAPWtEMbWdeLRBP'
16+
GOOGLE_CLIENT_ID = ''
17+
GOOGLE_CLIENT_SECRET = ''
1818

1919
# Logger settings
2020
LOGGER_FORMAT = '[%(asctime)s] [%(name)s] [%(levelname)s] %(message)s'

webapp/app/config.Testing.cfg

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ JSON_AS_ASCII = 'false'
1515
CORS_ORIGIN = '*'
1616

1717
## Google OAuth Setting
18-
GOOGLE_CLIENT_ID = '198819941616-3l2vvin50bcdqck480vnip35vdt009u0.apps.googleusercontent.com'
19-
GOOGLE_CLIENT_SECRET = 'TXbHEjrs8zAPWtEMbWdeLRBP'
18+
GOOGLE_CLIENT_ID = ''
19+
GOOGLE_CLIENT_SECRET = ''
2020

2121
# Logger settings
2222
LOGGER_FORMAT = '[%(asctime)s] [%(name)s] [%(levelname)s] %(message)s'

0 commit comments

Comments
 (0)