Skip to content

Commit

Permalink
include a default authsources.php file
Browse files Browse the repository at this point in the history
  • Loading branch information
briskt committed May 22, 2024
1 parent 3366b81 commit bafd40b
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ RUN mv $SSP_PATH/www/saml2/idp/SingleLogoutService.php $SSP_PATH/www/saml2/idp/s
COPY dockerbuild/ssp-overrides/SingleLogoutService.php $SSP_PATH/www/saml2/idp/SingleLogoutService.php
COPY dockerbuild/ssp-overrides/saml20-idp-remote.php $SSP_PATH/metadata/saml20-idp-remote.php
COPY dockerbuild/ssp-overrides/saml20-sp-remote.php $SSP_PATH/metadata/saml20-sp-remote.php
COPY dockerbuild/ssp-overrides/config.php $SSP_PATH/config/config.php
COPY dockerbuild/config/* $SSP_PATH/config/
COPY dockerbuild/ssp-overrides/id.php $SSP_PATH/www/id.php
COPY dockerbuild/ssp-overrides/announcement.php $SSP_PATH/announcement/announcement.php
COPY tests /data/tests
Expand Down
17 changes: 17 additions & 0 deletions dockerbuild/config/authsources.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<?php

use SimpleSAML\Module\silauth\Auth\Source\config\ConfigManager;

$config = [

// This is a authentication source which handles admin authentication.
'admin' => [
// The default is to use core:AdminPassword, but it can be replaced with
// any authentication source.

'core:AdminPassword',
],

// Use SilAuth
'silauth' => ConfigManager::getSspConfig(),
];
File renamed without changes.

0 comments on commit bafd40b

Please sign in to comment.