summaryrefslogtreecommitdiff
path: root/Authentication/Mobile2
diff options
context:
space:
mode:
Diffstat (limited to 'Authentication/Mobile2')
-rw-r--r--Authentication/Mobile2/index.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/Authentication/Mobile2/index.php b/Authentication/Mobile2/index.php
new file mode 100644
index 0000000..910df72
--- /dev/null
+++ b/Authentication/Mobile2/index.php
@@ -0,0 +1,4 @@
+<?php
+
+header("Location: https://privateauth.equestria.dev/hub/api/rest/oauth2/auth?client_id=" . json_decode(file_get_contents($_SERVER['DOCUMENT_ROOT'] . "/Private/Application.json"), true)["id"] . "&response_type=code&redirect_uri=http" . ($_SERVER['HTTPS'] ? "s" : "") . "://" . $_SERVER['HTTP_HOST'] . "/Authentication/Mobile2Callback&scope=Hub&request_credentials=default&access_type=offline");
+die(); \ No newline at end of file