Skip to content

Commit b2016b9

Browse files
committed
Add backward compatible endpoint for silent switchover
1 parent 5ed4772 commit b2016b9

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

lib/Controller/LoginController.php

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -734,4 +734,20 @@ private function getBackchannelLogoutErrorResponse(string $error, string $descri
734734
}
735735
return $response;
736736
}
737+
738+
/**
739+
* Backward compatible function for MagentaCLOUD to smoothly transition to new config
740+
*
741+
* @PublicPage
742+
* @NoCSRFRequired
743+
* @BruteForceProtection(action=userOidcBackchannelLogout)
744+
*
745+
* @param string $logout_token
746+
* @return JSONResponse
747+
* @throws Exception
748+
* @throws \JsonException
749+
*/
750+
public function telekomBackChannelLogout(string $logout_token = '') {
751+
return $this->backChannelLogout('Telekom', $logout_token);
752+
}
737753
}

0 commit comments

Comments
 (0)