Specifiy https scheme for the connectAzureCheck controller method

This commit is contained in:
Julie Lenaerts 2024-08-21 14:20:37 +02:00
parent 547a9d1369
commit 6362b98a00

View File

@ -42,7 +42,7 @@ class RemoteCalendarConnectAzureController
->redirect(['https://graph.microsoft.com/.default', 'offline_access'], []); ->redirect(['https://graph.microsoft.com/.default', 'offline_access'], []);
} }
#[Route(path: '/connect/azure/check', name: 'chill_calendar_remote_connect_azure_check')] #[Route(path: '/connect/azure/check', name: 'chill_calendar_remote_connect_azure_check', schemes: 'https')]
public function connectAzureCheck(Request $request): Response public function connectAzureCheck(Request $request): Response
{ {
/** @var Azure $client */ /** @var Azure $client */