I have a Python Flask application that accesses the Github API. To do this, I need to save the access token. What is the common practice of storing this data and how do I access it in my application?
from flask import Flask, request
app = Flask(__name__)
app.config['DEBUG'] = True
@app.route('/',methods=['POST'])
def foo():
...
source
share