diff options
author | Minteck <contact@minteck.org> | 2022-04-13 09:13:01 +0200 |
---|---|---|
committer | Minteck <contact@minteck.org> | 2022-04-13 09:13:01 +0200 |
commit | 50b7b70a58942474790ac9c65ac58af87e90abb8 (patch) | |
tree | dac847095cdbaeb099c0ca45efd7beb207941dba /login/embed/index.php | |
parent | b40e7f9f802c0c4bd8e1d27dbca0cbe11faff6d0 (diff) | |
download | session-50b7b70a58942474790ac9c65ac58af87e90abb8.tar.gz session-50b7b70a58942474790ac9c65ac58af87e90abb8.tar.bz2 session-50b7b70a58942474790ac9c65ac58af87e90abb8.zip |
Attempt 1 at fixing broken session
Diffstat (limited to 'login/embed/index.php')
-rw-r--r-- | login/embed/index.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/login/embed/index.php b/login/embed/index.php index a27ed39..a8d18a0 100644 --- a/login/embed/index.php +++ b/login/embed/index.php @@ -2,5 +2,5 @@ $_CONFIG = json_decode(file_get_contents("/mnt/familine/private/FamilineConfig.json"), true); -header("Location: https://" . $_CONFIG["Global"]["federation"] . "/auth/realms/Familine/protocol/openid-connect/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/embed&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/embed&scope=profile&request_credentials=default&access_type=offline"); die(); |