From 2f411b9e0f326bc3db3d9927ed4b441e638fde9d Mon Sep 17 00:00:00 2001 From: Minteck Date: Wed, 13 Apr 2022 09:21:05 +0200 Subject: Attempt 3 at fixing broken session --- login/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'login/index.php') diff --git a/login/index.php b/login/index.php index 71a3e2d..0e607d1 100755 --- a/login/index.php +++ b/login/index.php @@ -3,5 +3,5 @@ $_CONFIG = json_decode(file_get_contents("/mnt/familine/private/FamilineConfig.json"), true); setcookie("_auth_callback", $_GET['r'], 0, "/"); -header("Location: https://" . $_CONFIG["Global"]["federation"] . "/hub/api/rest/oauth2/auth?client_id=" . json_decode(file_get_contents("/mnt/familine/private/app.json"), true)["id"] . "&response_type=code&redirect_uri=https://session." . $_CONFIG["Global"]["domain"] . "/oauth&scope=profile&request_credentials=default&access_type=offline"); +header("Location: https://" . $_CONFIG["Global"]["federation"] . "/hub/api/rest/oauth2/auth?client_id=" . json_decode(file_get_contents("/mnt/familine/private/app.json"), true)["id"] . "&response_type=code&redirect_uri=https://session." . $_CONFIG["Global"]["domain"] . "/oauth&scope=Hub&request_credentials=default&access_type=offline"); die(); -- cgit