From e14b8c8fc8c6ee6bd37f3e395244071e6a41e6c2 Mon Sep 17 00:00:00 2001 From: Aaron Parecki <aaron@parecki.com> Date: Sat, 26 Aug 2017 12:26:18 -0700 Subject: [PATCH] updates --- foursquare.html | 2 +- github.php | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/foursquare.html b/foursquare.html index 8e17ade..581657a 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 9b5b0b3..0e9238a 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; -- GitLab