Authelia test
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 11s

This commit is contained in:
2026-04-01 17:23:24 +02:00
parent 403e3310af
commit 7dbb374360

View File

@@ -15,6 +15,7 @@ if (isset($_GET['code']) && isset($_GET['state'])) {
// Autorisierungscode gegen Token tauschen
$ch = curl_init($authelia_url . '/api/oidc/token');
curl_setopt($ch, CURLOPT_RESOLVE, ["auth.iten.pro:443:84.227.207.55"]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query([
@@ -32,7 +33,7 @@ if (isset($_GET['code']) && isset($_GET['state'])) {
curl_close($ch);
die('Kritischer cURL-Netzwerkfehler: ' . $error_msg);
}
curl_close($ch);
$data = json_decode($response, true);