blob: 99f393f75a87ed749780f8ba6102de13215d390a (
plain)
1
2
3
4
5
6
|
<?php
$server = "auth.equestria.horse";
header("Location: https://$server/hub/api/rest/oauth2/auth?client_id=" . json_decode(file_get_contents($_SERVER['DOCUMENT_ROOT'] . "/includes/app.json"), true)["oauth"]["id"] . "&response_type=code&redirect_uri=https://ponies.equestria.horse/Authentication/Callback&scope=Hub&request_credentials=default&access_type=offline");
die();
|