12 lines
247 B
PHP
12 lines
247 B
PHP
<?php
|
|
require_once 'includes/oauth_microsoft.php';
|
|
|
|
if (!isMicrosoftOAuthConfigured()) {
|
|
http_response_code(503);
|
|
exit('Logowanie Microsoft nie jest skonfigurowane.');
|
|
}
|
|
|
|
header('Location: ' . buildMicrosoftAuthorizationUrl());
|
|
exit();
|
|
?>
|