def METHOD_NAME():
    """
    Set up config from flask request object
    """
    flask.g.request_context = {
        "config": {  # This must die, die, die!!!
            "linotp.root": os.path.dirname(os.path.abspath(__file__)),
        },
    }
    # We get this from `load_environment()`, and it basically sucks.
    flask.g.request_context["config"].update(flask.current_app.config)