When im trying to send a AJAX request, from my app page, that i get to from shopify apps, im getting a redirect from route that im trying access, to authenticate.
My route :
Route::get('/add-script-tags', [ShopifyController::class, 'addScriptTags'])->middleware('verify.shopify')->name('add-script-tags');
My ajax call:
When im trying to send a AJAX request, from my app page, that i get to from shopify apps, im getting a redirect from route that im trying access, to authenticate.
My route : Route::get('/add-script-tags', [ShopifyController::class, 'addScriptTags'])->middleware('verify.shopify')->name('add-script-tags'); My ajax call:
Header is added but still isnt recognized by the middleware, or am i missing something?