Skip to content

Commit

Permalink
updating code
Browse files Browse the repository at this point in the history
  • Loading branch information
tuehoang committed Nov 19, 2024
1 parent 1de38eb commit 1e56dea
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions docker/guard-override.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

//$config['Guard.AuthModule.Name'] = 'Ldap'; // Using LDAP module
//$config['Guard.AuthModule.Name'] = 'Shibboleth'; // Using Shibboleth module
//$config['Guard.AuthModule.Name'] = getenv('IPEER_AUTH') ? getenv('IPEER_AUTH') : 'Default'; // Using default (build-in) module
$config['Guard.AuthModule.Name'] = getenv('IPEER_AUTH') ? getenv('IPEER_AUTH') : 'Default'; // Using default (build-in) module

//added Tue for testing.
$config['Guard.AuthModule.Name'] = 'Default';
//$config['Guard.AuthModule.Name'] = 'Default';

$config['Guard.AuthModule.Default'] = array();
$config['Guard.AuthModule.Shibboleth'] = array(
Expand Down Expand Up @@ -41,8 +41,8 @@
);

$config['Guard.AuthModule.Cwl'] = array(
'sessionInitiatorURL' => 'https://www.auth.cwl.ubc.ca/auth/login',
'applicationID' => 'ServiceName',
'sessionInitiatorURL' => 'https://ipeer1-stg.apps.ctlt.ubc.ca/api/saml/login',
'applicationID' => 'ServiceName-iPeer',
'applicationPassword' => 'ServicePassword',
'fieldMapping' => array(
'eppn' => 'username',
Expand All @@ -57,7 +57,8 @@
'loginTextButton' => 'Login',
// CWL XML-RPC interface URLs: https://www.auth.verf.cwl.ubc.ca/auth/rpc (for verification)
// https://www.auth.cwl.ubc.ca/auth/rpc
'RPCURL' => "https://www.auth.cwl.ubc.ca",
//'RPCURL' => "https://www.auth.cwl.ubc.ca",
'RPCURL' => "https://ipeer1-stg.apps.ctlt.ubc.ca",
'RPCPath' => "/auth/rpc",

/**
Expand Down

0 comments on commit 1e56dea

Please sign in to comment.