diff --git a/foursquare.html b/foursquare.html index 8e17ade403d63a9e8c01c3057a534b568073b9d7..581657af772d00d60081fe426859f47d385dd352 100644 --- a/foursquare.html +++ b/foursquare.html @@ -6,7 +6,7 @@ <body> <div id="login"> - <a href="https://foursquare.com/oauth2/authenticate?client_id=IFMKONPESAZI2NG3D2QWFTJISPVEITNB2IEKTZ0WVLGZKEFI&response_type=token&redirect_uri=http://oauth2.dev/code/foursquare.html">Log In</a> + <a href="https://foursquare.com/oauth2/authenticate?client_id=IFMKONPESAZI2NG3D2QWFTJISPVEITNB2IEKTZ0WVLGZKEFI&response_type=token&redirect_uri=http://localhost/foursquare.html">Log In</a> </div> <div id="signed-in" style="display: none;"> diff --git a/github.php b/github.php index 9b5b0b3fffd8b6c19768c29b43ba8e491083eb28..0e9238a5e2fe978b7bc41cf61a97f6f74e31d6fc 100644 --- a/github.php +++ b/github.php @@ -50,7 +50,6 @@ if(get('code')) { 'client_id' => $githubClientID, 'client_secret' => $githubClientSecret, 'redirect_uri' => $baseURL, - 'state' => $_SESSION['state'], 'code' => get('code') )); $_SESSION['access_token'] = $token->access_token;