From a03ede18e0fe92c10c5f3e93572f283760eeef01 Mon Sep 17 00:00:00 2001 From: Jonny Barnes Date: Mon, 20 Feb 2017 17:13:19 +0000 Subject: [PATCH] Use the correct micoprub client URL in the generate token command --- app/Console/Commands/GenerateToken.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Console/Commands/GenerateToken.php b/app/Console/Commands/GenerateToken.php index 9299206c..72bea542 100644 --- a/app/Console/Commands/GenerateToken.php +++ b/app/Console/Commands/GenerateToken.php @@ -48,7 +48,7 @@ class GenerateToken extends Command { $data = [ 'me' => config('app.url'), - 'client_id' => config('app.url') . '/notes/new', + 'client_id' => route('micropub-client'), 'scope' => 'post', ]; $token = $tokenService->getNewToken($data);