summaryrefslogtreecommitdiff
path: root/auth/init/index.php
blob: 942882545509b86be2d5fff4064b911ccf3c1703 (plain)
1
2
3
4
5
6
<?php

$server = "auth.equestria.horse";

header("Location: https://$server/hub/api/rest/oauth2/auth?client_id=" . $GLOBALS["ColdHazeApp"]["oauth"]["id"] . "&response_type=code&redirect_uri=https://ponies.equestria.horse/auth/callback&scope=Hub&request_credentials=default&access_type=offline");
die();