Skip to content
Snippets Groups Projects
Verified Commit 4764853f authored by Erwan Rouchet's avatar Erwan Rouchet
Browse files

Move djangorestframework-simplejwt to EE

parent c8cfbcb4
No related branches found
No related tags found
1 merge request!2522Move djangorestframework-simplejwt to EE
......@@ -91,7 +91,6 @@ def get_settings_parser(base_dir):
# SECURITY WARNING: keep the secret key used in production secret!
parser.add_option("secret_key", type=str, default="jf0w^y&ml(caax8f&a1mub)(js9(l5mhbbhosz3gi+m01ex+lo")
parser.add_option("jwt_signing_key", type=str, default=None)
database_parser = parser.add_subparser("database", default={})
database_parser.add_option("name", type=str, default="arkindex_dev")
......
......@@ -14,7 +14,6 @@ import decimal
import os
import sys
import warnings
from datetime import timedelta
from pathlib import Path
from textwrap import dedent
......@@ -219,13 +218,6 @@ REST_FRAMEWORK = {
"TEST_REQUEST_DEFAULT_FORMAT": "json",
}
SIMPLE_JWT = {
"USER_ID_CLAIM": "agent_id",
"ROTATE_REFRESH_TOKENS": True,
"ACCESS_TOKEN_LIFETIME": timedelta(hours=6),
"SIGNING_KEY": conf["jwt_signing_key"] or SECRET_KEY,
}
SPECTACULAR_SETTINGS = {
"CAMELIZE_NAMES": True,
# Remove the automatically generated `description` that lists the members of all enums,
......
......@@ -60,7 +60,6 @@ job_timeouts:
send_verification_email: 120
task: 36000
worker_results_delete: 3600
jwt_signing_key: null
local_imageserver_id: 1
metrics_port: 3000
ponos:
......
......@@ -43,7 +43,6 @@ job_timeouts:
task: ''
worker_results_delete: null
send_verification_email: lol
jwt_signing_key: null
local_imageserver_id: 1
metrics_port: 12
ponos:
......
......@@ -75,7 +75,6 @@ job_timeouts:
send_verification_email: 10
task: 11
worker_results_delete: 12
jwt_signing_key: deadbeef
local_imageserver_id: 45
metrics_port: 4242
ponos:
......
......@@ -7,7 +7,6 @@ django-enumfields2==3.0.2
django-pgtrigger==4.7.0
django-rq==2.10.1
djangorestframework==3.15.2
djangorestframework-simplejwt==5.4.0
docker==7.0.0
drf-spectacular==0.27.2
psycopg[binary]==3.2.4
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment