oidc
This commit is contained in:
@@ -23,6 +23,26 @@ echo "#SENTRY_DNS=" >> $DJANGO_PROD_FILE
|
||||
echo "MISTBORN_INSTALL_COCKPIT=$MISTBORN_INSTALL_COCKPIT" >> $DJANGO_PROD_FILE
|
||||
#echo "MISTBORN_PORTAL_IP=10.2.3.1" >> $DJANGO_PROD_FILE
|
||||
echo "MISTBORN_PORTAL_REDIRECT_PORT=5001" >> $DJANGO_PROD_FILE
|
||||
|
||||
cat >> ${DJANGO_PROD_FILE}<< EOF
|
||||
|
||||
#OIDC_RP_CLIENT_ID =
|
||||
#OIDC_RP_CLIENT_SECRET =
|
||||
|
||||
#OIDC_OP_AUTHORIZATION_ENDPOINT = "<URL of the OIDC OP authorization endpoint>"
|
||||
#OIDC_OP_TOKEN_ENDPOINT = "<URL of the OIDC OP token endpoint>"
|
||||
#OIDC_OP_USER_ENDPOINT = "<URL of the OIDC OP userinfo endpoint>"
|
||||
|
||||
#LOGIN_REDIRECT_URL = "<URL path to redirect to after login>"
|
||||
#LOGOUT_REDIRECT_URL = "<URL path to redirect to after logout>"
|
||||
|
||||
OIDC_RENEW_ID_TOKEN_EXPIRY_SECONDS=3600
|
||||
|
||||
#OIDC_USERNAME_ALGO=
|
||||
#OIDC_CREATE_USER = True
|
||||
#OIDC_OP_LOGOUT_URL_METHOD=
|
||||
EOF
|
||||
|
||||
chmod 600 $DJANGO_PROD_FILE
|
||||
|
||||
# generate production .env file for postgresql
|
||||
|
||||
Reference in New Issue
Block a user