authlib / example-oauth2-server

Example for OAuth 2 Server for Authlib.
https://authlib.org/
684 stars 285 forks source link

Before_first_request deprecation fix #96

Closed epilehpsy closed 1 year ago

epilehpsy commented 1 year ago

When executing flask run the program throws an error: AttributeError: 'Flask' object has no attribute 'before_first_request'. Did you mean: '_got_first_request'?

I think this may be a fix :)