Description
I followed the Xero "Up and Running with xero-python-oauth2-starter project" tutorial on youtube.
I have tried to implement it multiple times and it just doesn't work.
There are multiple comments on youtube and GitHub in the last few months from other people too. I have followed it carefully step by step and haven't missed any detail.
Here's a detailed explanation of what's not working :-
After completing all steps when I first went to localhost:5000 after running the app this is the error I got -

After some searching, I found out that this is due to flask-session error. So I ran these commands -
pip uninstall Flask Flask-Session
pip install Flask Flask-Session
Then I again followed the tutorial and got this error instead-
Here is the screenshot of the VS code terminal window -
Addtional Details -
I am running this on Mac (M2).
Editor - VS code.
I made sure that the URI is correct, Client secret and client ID is correct. I followed the tutorial multiple times perfectly. Please tell me what I need to do to get this working.