-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #195 from silinternational/feature/mfa-module
directly include the mfa module
- Loading branch information
Showing
36 changed files
with
4,268 additions
and
139 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,9 +7,14 @@ services: | |
- ssp-idp1.local | ||
- ssp-idp2.local | ||
- ssp-sp1.local | ||
- pwmanager.local | ||
- test-browser | ||
environment: | ||
- PROFILE_URL_FOR_TESTS=http://ssp-sp1.local/module.php/core/authenticate.php?as=ssp-hub | ||
- PROFILE_URL_FOR_TESTS=http://pwmanager.local/module.php/core/authenticate.php?as=ssp-hub | ||
- [email protected] | ||
- ADMIN_PASS=b | ||
- SECRET_SALT=abc123 | ||
- IDP_NAME=x | ||
volumes: | ||
- ./dockerbuild/run-integration-tests.sh:/data/run-integration-tests.sh | ||
- ./dockerbuild/run-metadata-tests.sh:/data/run-metadata-tests.sh | ||
|
@@ -75,14 +80,24 @@ services: | |
|
||
# Enable checking our test metadata | ||
- ./dockerbuild/run-metadata-tests.sh:/data/run-metadata-tests.sh | ||
|
||
# Include the features folder (for the FakeIdBrokerClient class) | ||
- ./features:/data/features | ||
command: 'bash -c "/data/enable-exampleauth-module.sh && /data/run.sh"' | ||
environment: | ||
ADMIN_EMAIL: "[email protected]" | ||
ADMIN_PASS: "a" | ||
SECRET_SALT: "not-secret-h57fjemb&dn^nsJFGNjweJ" | ||
IDP_NAME: "IDP 1" | ||
PROFILE_URL: "http://ssp-hub-sp1:8083/module.php/core/authenticate.php?as=ssp-hub-custom-port" | ||
PROFILE_URL_FOR_TESTS: "http://ssp-sp1.local/module.php/core/authenticate.php?as=ssp-hub" | ||
IDP_DOMAIN_NAME: "mfaidp" | ||
ID_BROKER_ACCESS_TOKEN: "dummy" | ||
ID_BROKER_ASSERT_VALID_IP: "false" | ||
ID_BROKER_BASE_URI: "dummy" | ||
ID_BROKER_TRUSTED_IP_RANGES: "192.168.0.1/8" | ||
MFA_SETUP_URL: "http://pwmanager.local:8083/module.php/core/authenticate.php?as=ssp-hub-custom-port" | ||
REMEMBER_ME_SECRET: "12345" | ||
PROFILE_URL: "http://pwmanager:8083/module.php/core/authenticate.php?as=ssp-hub-custom-port" | ||
PROFILE_URL_FOR_TESTS: "http://pwmanager.local/module.php/core/authenticate.php?as=ssp-hub" | ||
SECURE_COOKIE: "false" | ||
SHOW_SAML_ERRORS: "true" | ||
THEME_USE: "default" | ||
|
@@ -139,3 +154,25 @@ services: | |
SHOW_SAML_ERRORS: "true" | ||
SAML20_IDP_ENABLE: "false" | ||
ADMIN_PROTECT_INDEX_PAGE: "false" | ||
|
||
pwmanager.local: | ||
image: silintl/ssp-base:develop | ||
volumes: | ||
# Utilize custom certs | ||
- ./development/sp-local/cert:/data/vendor/simplesamlphp/simplesamlphp/cert | ||
|
||
# Utilize custom configs | ||
- ./development/sp-local/config/authsources-pwmanager.php:/data/vendor/simplesamlphp/simplesamlphp/config/authsources.php | ||
|
||
# Utilize custom metadata | ||
- ./development/sp-local/metadata/saml20-idp-remote.php:/data/vendor/simplesamlphp/simplesamlphp/metadata/saml20-idp-remote.php | ||
environment: | ||
- [email protected] | ||
- ADMIN_PASS=sp1 | ||
- IDP_NAME=THIS VARIABLE IS REQUIRED BUT PROBABLY NOT USED | ||
- SECRET_SALT=NOT-a-secret-k49fjfkw73hjf9t87wjiw | ||
- SECURE_COOKIE=false | ||
- SHOW_SAML_ERRORS=true | ||
- SAML20_IDP_ENABLE=false | ||
- ADMIN_PROTECT_INDEX_PAGE=false | ||
- THEME_USE=default |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.