Level 1
I am also facing the same problem now
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
I have this code in Laravel but getting above error after authentication granted.
Route::get('/woo/authorize', function (Request $request) {
$store_url = 'https://easywaretech.com/';
$endpoint = '/wc-auth/v1/authorize';
$params = [
'app_name' => 'Eastern Fullfillment',
'scope' => 'write',
'user_id' => 123,
'return_url' => 'https://dev.easternfulfillment.com/',
'callback_url' => 'https://dev.easternfulfillment.com/'
];
$query_string = http_build_query( $params );
return Redirect::away($store_url . $endpoint . '?' . $query_string);
});
Please or to participate in this conversation.