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);