Skip to content

Commit

Permalink
Merge pull request #218 from silinternational/feature/remove-google
Browse files Browse the repository at this point in the history
remove GOOGLE_ENABLE
  • Loading branch information
briskt authored Jun 14, 2024
2 parents a94f8ba + 2860f3c commit 657fee2
Show file tree
Hide file tree
Showing 9 changed files with 21 additions and 56 deletions.
6 changes: 3 additions & 3 deletions development/idp-local/config/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@
$MYSQL_PASSWORD = Env::get('MYSQL_PASSWORD', '');

$SAML20_IDP_ENABLE = Env::get('SAML20_IDP_ENABLE', true);
$GOOGLE_ENABLE = Env::get('GOOGLE_ENABLE', false);
$HUB_MODE = Env::get('HUB_MODE', false);
$ANALYTICS_ID = Env::get('ANALYTICS_ID', null);
$PASSWORD_CHANGE_URL = Env::get('PASSWORD_CHANGE_URL');
Expand Down Expand Up @@ -584,8 +583,9 @@
*/

'module.enable' => [
// Setting to TRUE enables.
'authgoogle' => $GOOGLE_ENABLE,
'saml' => true,
'core' => true,
'admin' => true,
'expirychecker' => true,
'material' => true,
'mfa' => true,
Expand Down
6 changes: 3 additions & 3 deletions development/idp2-local/config/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@
$MYSQL_PASSWORD = Env::get('MYSQL_PASSWORD', '');

$SAML20_IDP_ENABLE = Env::get('SAML20_IDP_ENABLE', true);
$GOOGLE_ENABLE = Env::get('GOOGLE_ENABLE', false);
$HUB_MODE = Env::get('HUB_MODE', false);
$ANALYTICS_ID = Env::get('ANALYTICS_ID', null);
$PASSWORD_CHANGE_URL = Env::get('PASSWORD_CHANGE_URL');
Expand Down Expand Up @@ -584,8 +583,9 @@
*/

'module.enable' => [
// Setting to TRUE enables.
'authgoogle' => $GOOGLE_ENABLE,
'saml' => true,
'core' => true,
'admin' => true,
'expirychecker' => true,
'material' => true,
'mfa' => true,
Expand Down
6 changes: 3 additions & 3 deletions development/idp3-local/config/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
$SESSION_REMEMBERME_LIFETIME = (int)(Env::get('SESSION_REMEMBERME_LIFETIME', (14 * 86400))); // 14 days
$SECURE_COOKIE = Env::get('SECURE_COOKIE', true);
$SAML20_IDP_ENABLE = Env::get('SAML20_IDP_ENABLE', true);
$GOOGLE_ENABLE = Env::get('GOOGLE_ENABLE', false);
$FORCE_DISCOVERY = Env::get('FORCE_DISCOVERY', false);

$config = [
Expand Down Expand Up @@ -256,8 +255,9 @@
*/

'module.enable' => [
// Setting to TRUE enables.
'authgoogle' => $GOOGLE_ENABLE,
'saml' => true,
'core' => true,
'admin' => true,
],

/*
Expand Down
12 changes: 3 additions & 9 deletions development/sp-local/config/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@
$SESSION_REMEMBERME_LIFETIME = (int)(Env::get('SESSION_REMEMBERME_LIFETIME', (14 * 86400))); // 14 days
$SECURE_COOKIE = Env::get('SECURE_COOKIE', true);
$SAML20_IDP_ENABLE = Env::get('SAML20_IDP_ENABLE', true);
$GOOGLE_ENABLE = Env::get('GOOGLE_ENABLE', false);

$config = [

Expand Down Expand Up @@ -292,14 +291,9 @@
*/

'module.enable' => [
// Setting to TRUE enables.
'authgoogle' => $GOOGLE_ENABLE,
'expirychecker' => true,
'material' => true,
'mfa' => true,
'profilereview' => true,
'silauth' => true,
'sildisco' => true,
'saml' => true,
'core' => true,
'admin' => true,
],

/*
Expand Down
12 changes: 3 additions & 9 deletions development/sp2-local/config/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@
$SESSION_REMEMBERME_LIFETIME = (int)(Env::get('SESSION_REMEMBERME_LIFETIME', (14 * 86400))); // 14 days
$SECURE_COOKIE = Env::get('SECURE_COOKIE', true);
$SAML20_IDP_ENABLE = Env::get('SAML20_IDP_ENABLE', true);
$GOOGLE_ENABLE = Env::get('GOOGLE_ENABLE', false);

$config = [

Expand Down Expand Up @@ -292,14 +291,9 @@
*/

'module.enable' => [
// Setting to TRUE enables.
'authgoogle' => $GOOGLE_ENABLE,
'expirychecker' => true,
'material' => true,
'mfa' => true,
'profilereview' => true,
'silauth' => true,
'sildisco' => true,
'saml' => true,
'core' => true,
'admin' => true,
],

/*
Expand Down
12 changes: 3 additions & 9 deletions development/sp3-local/config/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@
$SESSION_REMEMBERME_LIFETIME = (int)(Env::get('SESSION_REMEMBERME_LIFETIME', (14 * 86400))); // 14 days
$SECURE_COOKIE = Env::get('SECURE_COOKIE', true);
$SAML20_IDP_ENABLE = Env::get('SAML20_IDP_ENABLE', true);
$GOOGLE_ENABLE = Env::get('GOOGLE_ENABLE', false);

$config = [

Expand Down Expand Up @@ -292,14 +291,9 @@
*/

'module.enable' => [
// Setting to TRUE enables.
'authgoogle' => $GOOGLE_ENABLE,
'expirychecker' => true,
'material' => true,
'mfa' => true,
'profilereview' => true,
'silauth' => true,
'sildisco' => true,
'saml' => true,
'core' => true,
'admin' => true,
],

/*
Expand Down
16 changes: 0 additions & 16 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -268,14 +268,6 @@ services:

# Enable checking our test metadata
- ./dockerbuild/run-metadata-tests.sh:/data/run-metadata-tests.sh

# Local modules
- ./modules/mfa:/data/vendor/simplesamlphp/simplesamlphp/modules/mfa
- ./modules/expirychecker:/data/vendor/simplesamlphp/simplesamlphp/modules/expirychecker
- ./modules/profilereview:/data/vendor/simplesamlphp/simplesamlphp/modules/profilereview
- ./modules/silauth:/data/vendor/simplesamlphp/simplesamlphp/modules/silauth
- ./modules/sildisco:/data/vendor/simplesamlphp/simplesamlphp/modules/sildisco
- ./modules/material:/data/vendor/simplesamlphp/simplesamlphp/modules/material
ports:
- "8081:80"
environment:
Expand All @@ -298,14 +290,6 @@ services:

# Utilize custom metadata
- ./development/sp2-local/metadata/saml20-idp-remote.php:/data/vendor/simplesamlphp/simplesamlphp/metadata/saml20-idp-remote.php

# Local modules
- ./modules/mfa:/data/vendor/simplesamlphp/simplesamlphp/modules/mfa
- ./modules/expirychecker:/data/vendor/simplesamlphp/simplesamlphp/modules/expirychecker
- ./modules/profilereview:/data/vendor/simplesamlphp/simplesamlphp/modules/profilereview
- ./modules/silauth:/data/vendor/simplesamlphp/simplesamlphp/modules/silauth
- ./modules/sildisco:/data/vendor/simplesamlphp/simplesamlphp/modules/sildisco
- ./modules/material:/data/vendor/simplesamlphp/simplesamlphp/modules/material
ports:
- "8082:80"
environment:
Expand Down
6 changes: 3 additions & 3 deletions dockerbuild/config/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@
$MYSQL_PASSWORD = Env::get('MYSQL_PASSWORD', '');

$SAML20_IDP_ENABLE = Env::get('SAML20_IDP_ENABLE', true);
$GOOGLE_ENABLE = Env::get('GOOGLE_ENABLE', false);
$HUB_MODE = Env::get('HUB_MODE', false);
$ANALYTICS_ID = Env::get('ANALYTICS_ID', null);
$PASSWORD_CHANGE_URL = Env::get('PASSWORD_CHANGE_URL');
Expand Down Expand Up @@ -585,8 +584,9 @@
*/

'module.enable' => [
// Setting to TRUE enables.
'authgoogle' => $GOOGLE_ENABLE,
'saml' => true,
'core' => true,
'admin' => true,
'expirychecker' => true,
'material' => true,
'mfa' => true,
Expand Down
1 change: 0 additions & 1 deletion local.env.dist
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ BASE_URL_PATH=
COMPOSER_ALLOW_SUPERUSER=1
COMPOSER_AUTH={"github-oauth":{"github.com":"token-here"}}
COMPOSER_CACHE_DIR=/composer
GOOGLE_ENABLE=
HUB_MODE=false
ENABLE_DEBUG=

Expand Down

0 comments on commit 657fee2

Please sign in to comment.