replace deprecated authlib.flask.oauth2 with authlib.integrations.flask_oauth2
parent
950809fe44
commit
696896d48e
|
@ -1,6 +1,6 @@
|
|||
from datetime import datetime, timedelta
|
||||
|
||||
from authlib.flask.oauth2 import AuthorizationServer, ResourceProtector
|
||||
from authlib.integrations.flask_oauth2 import AuthorizationServer, ResourceProtector
|
||||
from authlib.oauth2.rfc6749 import grants
|
||||
from authlib.oidc.core import grants as oidgrants
|
||||
from authlib.oauth2.rfc6750 import BearerTokenValidator
|
||||
|
|
Loading…
Reference in New Issue