Skip to content
This repository has been archived by the owner on Nov 29, 2019. It is now read-only.

Commit

Permalink
separate saml random
Browse files Browse the repository at this point in the history
  • Loading branch information
maparent committed Jun 20, 2017
1 parent 5653bf3 commit ac35c30
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion configs/base_env.rc
@@ -1,4 +1,4 @@
ini_files = production.ini RANDOM RC_DATA
ini_files = production.ini RANDOM:random.ini.tmpl RANDOM:saml_random.ini.tmpl RC_DATA
*db_host = localhost
*db_user = assembl
# TODO: If generated remotely, fetch in fabfile
Expand Down
4 changes: 2 additions & 2 deletions configs/develop.rc
@@ -1,5 +1,5 @@
_extends = base_env.rc
ini_files = production.ini develop_overlay.ini RANDOM RC_DATA
ini_files = production.ini develop_overlay.ini RANDOM:random.ini.tmpl RC_DATA
# ZMQ model changes local socket (backend will connect to this)
# UNIQUE_PER_SERVER
# Convention:
Expand All @@ -10,7 +10,7 @@ redis_socket = 0
# Change this to the port visible from the outside
# Typically 80 for prod, 6543 for dev
# In dev, will often match server:main__port unless proxying
public_port = $(port)s
public_port = 6543
# Other public_port values
# public_port = 9991
# public_port = 8080
Expand Down
2 changes: 0 additions & 2 deletions random.ini.tmpl
Expand Up @@ -3,5 +3,3 @@ security.email_token_salt = {random66}
beaker.session.validate_key = {random66}
beaker.session.encrypt_key = {random66}
beaker.session.secret = {random66}
SOCIAL_AUTH_SAML_SP_PUBLIC_CERT = {saml_cert}
SOCIAL_AUTH_SAML_SP_PRIVATE_KEY = {saml_key}
3 changes: 3 additions & 0 deletions saml_random.ini.tmpl
@@ -0,0 +1,3 @@
[app:assembl]
SOCIAL_AUTH_SAML_SP_PUBLIC_CERT = {saml_cert}
SOCIAL_AUTH_SAML_SP_PRIVATE_KEY = {saml_key}

0 comments on commit ac35c30

Please sign in to comment.