Use the correct micoprub client URL in the generate token command
This commit is contained in:
parent
a69a7f9a50
commit
a03ede18e0
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@ class GenerateToken extends Command
|
||||||
{
|
{
|
||||||
$data = [
|
$data = [
|
||||||
'me' => config('app.url'),
|
'me' => config('app.url'),
|
||||||
'client_id' => config('app.url') . '/notes/new',
|
'client_id' => route('micropub-client'),
|
||||||
'scope' => 'post',
|
'scope' => 'post',
|
||||||
];
|
];
|
||||||
$token = $tokenService->getNewToken($data);
|
$token = $tokenService->getNewToken($data);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue