diff --git a/src/Controller/ProjectController.php b/src/Controller/ProjectController.php index f1f03ce..b5e95eb 100644 --- a/src/Controller/ProjectController.php +++ b/src/Controller/ProjectController.php @@ -90,7 +90,7 @@ final class ProjectController extends AbstractController try { foreach ($project->getApplications() as $appId) { $app = $this->appsRepository->find($appId); - $clientUrl = 'http://' . $app->getSubDomain() . '.' .$this->getParameter('app_domain') ; + $clientUrl = 'https://' . $app->getSubDomain() . '.' .$this->getParameter('app_domain') ; $this->SSOProjectService->createRemoteProject($clientUrl, $project); } @@ -136,7 +136,7 @@ final class ProjectController extends AbstractController try { foreach ($project->getApplications() as $appId) { $app = $this->appsRepository->find($appId); - $clientUrl = 'http://' . $app->getSubDomain() . '.' .$this->getParameter('app_domain') ; + $clientUrl = 'https://' . $app->getSubDomain() . '.' .$this->getParameter('app_domain') ; $this->SSOProjectService->editRemoteProject($clientUrl, $project); } @@ -221,7 +221,7 @@ final class ProjectController extends AbstractController try { foreach ($project->getApplications() as $appId) { $app = $this->appsRepository->find($appId); - $clientUrl = 'http://' . $app->getSubDomain() . '.' .$this->getParameter('app_domain') ; + $clientUrl = 'https://' . $app->getSubDomain() . '.' .$this->getParameter('app_domain') ; $this->SSOProjectService->deleteRemoteProject($clientUrl, $project->getId()); }