don't auto provision the user on a global scale setup
with global scale the authentication happens on the master node and then the user is forward to the node they are located. Therefore no user should be created on the master node after the authentication at the idp was successful Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
This commit is contained in:
parent
e4988d9c7a
commit
4f852af4ce
|
@ -98,6 +98,12 @@ class SAMLController extends Controller {
|
|||
* @throws NoUserFoundException
|
||||
*/
|
||||
private function autoprovisionIfPossible(array $auth) {
|
||||
|
||||
// nothing to do here, in case of a global scale setup
|
||||
if ($this->config->getSystemValue('gs.enabled', false)) {
|
||||
return;
|
||||
}
|
||||
|
||||
$prefix = $this->SAMLSettings->getPrefix();
|
||||
$uidMapping = $this->config->getAppValue('user_saml', $prefix . 'general-uid_mapping');
|
||||
if(isset($auth[$uidMapping])) {
|
||||
|
|
Loading…
Reference in New Issue