You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 30, 2022. It is now read-only.
How can I change authentification behavior?
I am developing API where I use osiset package.
I need api to return unauthorized instead HTML form.
Is there a way to do it with this package? Or any recommendations?
As I can see we have: /vendor/osiset/laravel-shopify/src/ShopifyApp/Http/Middleware/AuthShopify.php
where we have private: handleBadVerification() method, where we have redirect to login page: return Redirect::route('login');
In case there is no better ways, I have a backup plan to extend AuthShopify and override handleBadVerification method, but it's private and I can't do that
The text was updated successfully, but these errors were encountered:
How can I change authentification behavior?
I am developing API where I use osiset package.
I need api to return unauthorized instead HTML form.
Is there a way to do it with this package? Or any recommendations?
As I can see we have: /vendor/osiset/laravel-shopify/src/ShopifyApp/Http/Middleware/AuthShopify.php
where we have private: handleBadVerification() method, where we have redirect to login page:
return Redirect::route('login');
In case there is no better ways, I have a backup plan to extend AuthShopify and override handleBadVerification method, but it's private and I can't do that
The text was updated successfully, but these errors were encountered: