dodanie csrf, oauth 2, dockerfile

This commit is contained in:
Marcin Cieślikowski
2026-03-16 10:43:19 +01:00
parent 56c7ecff6d
commit df448ea7c1
26 changed files with 916 additions and 318 deletions
+11
View File
@@ -0,0 +1,11 @@
<?php
require_once 'includes/oauth_microsoft.php';
if (!isMicrosoftOAuthConfigured()) {
http_response_code(503);
exit('Logowanie Microsoft nie jest skonfigurowane.');
}
header('Location: ' . buildMicrosoftAuthorizationUrl());
exit();
?>