authlib / authlib/example-oauth2-server

before_first_request has been deprecated

Open
#95 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
Python
Stars
705
Forks
279
PR merge metrics
No merged PRs in 30d

Description

When running `flask run`, an error will occur: `AttributeError: 'Flask' object has no attribute 'before_first_request'`.

workaround:

```diff
diff --git a/requirements.txt b/requirements.txt
index a9a0f2d..34f5e84 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -1,3 +1,3 @@
-Flask
+Flask~=2.2.0
Flask-SQLAlchemy
Authlib
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.