php-shopify
php-shopify copied to clipboard
How can I update access token with adding new scope
I need to update the access token with updating scopes. I don't want to do this process on the install process. I already have app installed and I just want to update the access token with new scopes.
You need to "re-authorize" your app. As per this library, the steps are the same as installing.
Hi, after changing scope re-authorize page is not opening, getting the error.
Refused to display 'https://ashadstore.myshopify.com/admin/oauth/request_grant?client_id=9435dfb63eb24dd460c5b3268ac25023&redirect_uri=https%3A%2F%2Fshopify.sendato.local%2Fauth%2FaccessToken&scope=read_customers%2Cread_products%2Cwrite_products%2Cread_orders%2Cwrite_price_rules' in a frame because it set 'X-Frame-Options' to 'deny'.
i am using phpclassic/[email protected].
Could you please guide me to fixed the problem?
Note:- if i do install app again then it is working fine but i am worried when my will go to live and if required to change scope then how app installed user will get ride of this issue without manuall installing app again.