This commit is contained in:
2025-08-10 02:33:00 -03:00
parent b7143ea634
commit a77cab45c1
10 changed files with 35 additions and 14 deletions

View File

@@ -22,8 +22,8 @@ OAUTH2_SCOPES_SUPPORTED = os.getenv('OAUTH2_SCOPES_SUPPORTED')
GRANT_TYPES_EXPIRES_IN = {
'refresh_token': 900,
'authorization_code': 900,
'refresh_token': 600,
'authorization_code': 600,
}

View File

@@ -0,0 +1,4 @@
from authlib.oauth2 import ResourceProtector as _ResourceProtector
class ResourceProtector(_ResourceProtector): ...