jetbridge / flask_cognito

Flask authentication with JWT against AWS Cognito
MIT License
94 stars 30 forks source link

Replace use of deprecated _request_ctx_stack #28

Closed daniel-panhead closed 6 months ago

daniel-panhead commented 6 months ago

Removed use of _request_ctx_stack which has been removed from Flask, and replaced with Flask's g proxy for the application context.

In addition, the syntax of app.config.extend in the README does not work for latest Flask, so I added a fixed syntax for that as well.