Hi there,
I was running this demo project, following the instructions carefully, but I kept getting an internal error before authentication: 'Flask' object has no attribute 'session_cookie_name'
I believe this is due to a version incompatibility between Flask and Flask-Session.
I changed the requirements.txt to:
werkzeug==2.0.3
flask==2.0.3
flask-session==0.4.0
flask-oauthlib==0.9.6
xero-python==6.1.0
and now it seems to be working
Happy to make a PR if helpful.