implement authentication redirect

This commit is contained in:
dandds
2018-08-03 15:51:44 -04:00
parent 9937b77c74
commit ea5c9732ba
6 changed files with 29 additions and 10 deletions

View File

@@ -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
View File

@@ -0,0 +1,2 @@
[default]
SESSION_COOKIE_SECURE=True