puiterwijk / flask-oidc

OpenID Connect support for Flask
BSD 2-Clause "Simplified" License
154 stars 217 forks source link

Adding support for flask[async] async/await handlers/view functions #139

Closed jiashuChen closed 1 year ago

jiashuChen commented 2 years ago

Hi @puiterwijk,

I've made some changes to add support for flask[async], appreciate any feedback if you are unhappy with the current approach.

Modified existing test case, and made sure all unit tests are passing locally.

Added an extra requirement for flask-oidc[async] to explicitly depend on flask version 2.0.0 or higher.