Flask-Dance: No module named 'flask_dance.consumer.backend'
In Flask-Dance 1.4.0, "backends" were renamed to "storages", since the word "backend" means something different in the context of web development. This change was backwards-compatible in 1.4.0, but the backwards-compatibility features were dropped in Flask-Dance 2.0.0.
To make this work in Flask 2.0 and above, just replace the word "backend" with the word "storage" everywhere you see it. For example, this line of code:
from flask_dance.consumer.backend.sqla import SQLAlchemyBackend
becomes this instead:
from flask_dance.consumer.storage.sqla import SQLAlchemyStorage
If you see any references to "backends" in the current documentation, please let me know! They should all be "storages" now.