You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I am trying to Implement User Authentication in Flask using Amazon Cognito.
I am using python 3.9 and installed flask and flask-cognito
I'm encountering an issue while using flask_cognito in my Flask app. When running the app (python app.py), I'm getting the following ImportError:
ImportError: cannot import name '_request_ctx_stack' from 'flask' (/path/to/venv/lib/python3.9/site-packages/flask/init.py)
Any insights or solutions would be greatly appreciated.
Thank you!
The text was updated successfully, but these errors were encountered:
Unfortunately _request_ctx_stack has been removed from Flask in the latest versions. I have made a PR #28 which uses the application context instead to store data, which seems to fix the issue.
Hi,
I am trying to Implement User Authentication in Flask using Amazon Cognito.
I am using python 3.9 and installed flask and flask-cognito
I'm encountering an issue while using flask_cognito in my Flask app. When running the app (python app.py), I'm getting the following ImportError:
ImportError: cannot import name '_request_ctx_stack' from 'flask' (/path/to/venv/lib/python3.9/site-packages/flask/init.py)
Any insights or solutions would be greatly appreciated.
Thank you!
The text was updated successfully, but these errors were encountered: