aboutsummaryrefslogtreecommitdiff
path: root/_site/admin/login/index.php
blob: 0741757b511be8be6f03c0bbc5bad8a18d0dbb89 (plain)
1
2
3
4
<?php

header("Location: https://github.com/login/oauth/authorize?client_id=" . json_decode(file_get_contents($_SERVER['DOCUMENT_ROOT'] . "/includes/admin/credentials.json"), true)["id"] . "&redirect_uri=https://blogchain.minteck.ro.lt/admin/callback/&allow_signups=false&scope=read:user");
die();