implement authentication redirect
This commit is contained in:
@@ -6,7 +6,7 @@ AUTHNID_BASE_URL= https://localhost:8001
|
||||
COOKIE_SECRET = some-secret-please-replace
|
||||
SECRET = change_me_into_something_secret
|
||||
SECRET_KEY = change_me_into_something_secret
|
||||
CAC_URL = https://localhost:8001
|
||||
CAC_URL = http://localhost:8000/login-redirect
|
||||
PE_NUMBER_CSV_URL = http://c95e1ebb198426ee57b8-174bb05a294821bedbf46b6384fe9b1f.r31.cf5.rackcdn.com/penumbers.csv
|
||||
REDIS_URI = redis://localhost:6379
|
||||
SESSION_TTL_SECONDS = 600
|
||||
@@ -17,6 +17,5 @@ PGUSER = postgres
|
||||
PGPASSWORD = postgres
|
||||
PGDATABASE = atat
|
||||
SESSION_TYPE = redis
|
||||
SESSION_COOKIE_DOMAIN= atat.codes
|
||||
SESSION_COOKIE_SECURE = True
|
||||
SESSION_COOKIE_NAME=atat
|
||||
SESSION_USE_SIGNER = True
|
||||
|
2
config/prod.ini
Normal file
2
config/prod.ini
Normal file
@@ -0,0 +1,2 @@
|
||||
[default]
|
||||
SESSION_COOKIE_SECURE=True
|
Reference in New Issue
Block a user