update select

This commit is contained in:
2025-11-07 07:44:40 -03:00
parent 0550f508b9
commit c8b4d9beeb
9 changed files with 192 additions and 179 deletions

View File

@@ -42,8 +42,7 @@ private_jwk = JsonWebKey.import_key(private_key)
# https://docs.authlib.org/en/v0.12/specs/rfc6750.html#authlib.oauth2.rfc6750.BearerToken.GRANT_TYPES_EXPIRES_IN
GRANT_TYPES_EXPIRES_IN = {
'authorization_code': 60 * 3, # 3 minutes
'refresh_token': 60 * 3, # 3 minutes
# 'refresh_token': 3600, # 1 hour
'refresh_token': 3600, # 1 hour
}