File tree 2 files changed +3
-2
lines changed 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -72,7 +72,7 @@ def RUNTIME_ENVIRONMENT():
72
72
"https://www.googleapis.com/auth/userinfo.email" ,
73
73
"https://www.googleapis.com/auth/userinfo.profile" ,
74
74
]
75
- SSO_SHOW_FORM_ON_ADMIN_PAGE = False
75
+ SSO_SHOW_FORM_ON_ADMIN_PAGE = os . environ . get ( "SSO_SHOW_FORM_ON_ADMIN_PAGE" , " False" ). lower () == "true"
76
76
STAFF_GROUP_NAME = "Cal-ITP"
77
77
78
78
MIDDLEWARE = [
Original file line number Diff line number Diff line change @@ -77,7 +77,8 @@ resource "azurerm_linux_web_app" "main" {
77
77
" GOOGLE_SSO_CLIENT_SECRET" = " ${ local . secret_prefix } google-sso-client-secret)" ,
78
78
" GOOGLE_SSO_ALLOWABLE_DOMAINS" = " ${ local . secret_prefix } google-sso-allowable-domains)" ,
79
79
" GOOGLE_SSO_STAFF_LIST" = " ${ local . secret_prefix } google-sso-staff-list)" ,
80
- " GOOGLE_SSO_SUPERUSER_LIST" = " ${ local . secret_prefix } google-sso-superuser-list)"
80
+ " GOOGLE_SSO_SUPERUSER_LIST" = " ${ local . secret_prefix } google-sso-superuser-list)" ,
81
+ " SSO_SHOW_FORM_ON_ADMIN_PAGE" = " ${ local . secret_prefix } sso-show-form-on-admin-page)"
81
82
82
83
# Sentry
83
84
" SENTRY_DSN" = " ${ local . secret_prefix } sentry-dsn)" ,
You can’t perform that action at this time.
0 commit comments