Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions examples/hosted-oauth/config.json

This file was deleted.

3 changes: 3 additions & 0 deletions examples/hosted-oauth/config.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
SECRET_KEY = ("replace me with a random string",)
NYLAS_OAUTH_CLIENT_ID = ("replace me with the client ID from Nylas",)
NYLAS_OAUTH_CLIENT_SECRET = "replace me with the client secret from Nylas"
2 changes: 1 addition & 1 deletion examples/hosted-oauth/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
# For more information, check out the documentation: http://flask.pocoo.org
# Create a Flask app, and load the configuration file.
app = Flask(__name__)
app.config.from_json("config.json")
app.config.from_pyfile("config.py")

# Check for dummy configuration values.
# If you are building your own application based on this example,
Expand Down