diff options
author | RaindropsSys <raindrops@equestria.dev> | 2024-02-29 20:30:14 +0100 |
---|---|---|
committer | RaindropsSys <raindrops@equestria.dev> | 2024-02-29 20:30:14 +0100 |
commit | 96eb5745754824a2a75698af4b60cc0a84c890ea (patch) | |
tree | 8b39f604d48f3fd49b3b8419033bf54a757d974e /auth/init | |
parent | 430245dc8511ed755081ce44e96b8b7dce7835bf (diff) | |
download | pluralconnect-96eb5745754824a2a75698af4b60cc0a84c890ea.tar.gz pluralconnect-96eb5745754824a2a75698af4b60cc0a84c890ea.tar.bz2 pluralconnect-96eb5745754824a2a75698af4b60cc0a84c890ea.zip |
Updated 9 files (automated)
Diffstat (limited to 'auth/init')
-rw-r--r-- | auth/init/index.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/auth/init/index.php b/auth/init/index.php index d2f93ce..3360efc 100644 --- a/auth/init/index.php +++ b/auth/init/index.php @@ -3,5 +3,5 @@ $app = $GLOBALS["ColdHazeApp"] = json_decode(file_get_contents($_SERVER['DOCUMENT_ROOT'] . "/includes/app.json"), true); $server = "account.equestria.dev"; -header("Location: https://$server/hub/api/rest/oauth2/auth?client_id=" . $GLOBALS["ColdHazeApp"]["oauth"]["id"] . "&response_type=code&redirect_uri=https://ponycule.equestria.horse/auth/callback&scope=Hub&request_credentials=default&access_type=offline"); +header("Location: https://$server/hub/api/rest/oauth2/auth?client_id=" . $GLOBALS["ColdHazeApp"]["oauth"]["id"] . "&response_type=code&redirect_uri=https://ponycule.p.equestria.dev/auth/callback&scope=Hub&request_credentials=default&access_type=offline"); die(); |