diff --git a/app/Http/Controllers/MicropubClientController.php b/app/Http/Controllers/MicropubClientController.php index ef9ffa28..9d6f8d6d 100644 --- a/app/Http/Controllers/MicropubClientController.php +++ b/app/Http/Controllers/MicropubClientController.php @@ -326,8 +326,7 @@ class MicropubClientController extends Controller $request->input('code'), $request->input('me'), route('micropub-client-get-new-token-callback'), // redirect_uri - route('micropub-client'), // client_id - $request->input('state') + route('micropub-client') // client_id ); if (array_key_exists('access_token', $token)) { $url = normalize_url($token['me']); diff --git a/app/Http/Controllers/TokenEndpointController.php b/app/Http/Controllers/TokenEndpointController.php index fb0da5ac..16653b68 100644 --- a/app/Http/Controllers/TokenEndpointController.php +++ b/app/Http/Controllers/TokenEndpointController.php @@ -48,8 +48,7 @@ class TokenEndpointController extends Controller $request->input('code'), $request->input('me'), $request->input('redirect_uri'), - $request->input('client_id'), - $request->input('state') + $request->input('client_id') ); if (array_key_exists('me', $auth)) { $scope = $auth['scope'] ?? ''; diff --git a/changelog.md b/changelog.md index 72081081..6a0ddbcf 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,8 @@ # Changelog +## Version 0.5.4 (2017-05-18) + - Fix issues with using the indieauth client + ## Version 0.5.3 (2017-05-18) - Tweak config page and get token method to better handle/show errors