Skip to content

Commit

Permalink
feat: increase time of jwt expiration
Browse files Browse the repository at this point in the history
  • Loading branch information
vncsna committed Feb 1, 2024
1 parent 8447fcb commit 78bf03a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bd_api/settings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,9 +162,9 @@
# GraphQL JWT configurations
GRAPHQL_JWT = {
"JWT_AUTH_HEADER_PREFIX": "Bearer",
"JWT_EXPIRATION_DELTA": timedelta(minutes=30),
"JWT_REFRESH_EXPIRATION_DELTA": timedelta(days=1),
"JWT_VERIFY_EXPIRATION": True,
"JWT_EXPIRATION_DELTA": timedelta(days=7),
"JWT_REFRESH_EXPIRATION_DELTA": timedelta(days=14),
"JWT_ALLOW_ANY_HANDLER": "bd_api.custom.graphql_jwt.allow_any",
}

Expand Down

0 comments on commit 78bf03a

Please sign in to comment.