initial comit of repository

This commit is contained in:
jenz
2026-08-12 15:35:36 +02:00
commit 8ede019d8f
21 changed files with 4392 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
<?php
$server_host_url = (!empty($_SERVER['HTTPS']) ? 'https' : 'http').'://'.$_SERVER['HTTP_HOST'];
$login_url_params = [
'openid.ns' => 'http://specs.openid.net/auth/2.0',
'openid.mode' => 'checkid_setup',
'openid.return_to' => $server_host_url . '/login-process.php',
'openid.realm' => $server_host_url,
'openid.identity' => 'http://specs.openid.net/auth/2.0/identifier_select',
'openid.claimed_id' => 'http://specs.openid.net/auth/2.0/identifier_select',
];
$steam_login_url = 'https://steamcommunity.com/openid/login'.'?'.http_build_query($login_url_params, '', '&');
header("location: $steam_login_url");
exit();
?>