I recently created a public app (not published yet), and a development store to test the app and the API.
When I use the API call GET method
to ask for OAuth permission for my development store following the steps in https://shopify.dev/tutorials/authenticate-with-oauth (step 2), instead of getting the prompt, I get a full page that said "Sorry, this store is not available".
When I test the same function with an actual store I get this, which is correct since the app is not published yet.
Can anyone enlighten me whether this is a bug or is there some missing steps / steps not done properly on my side?
I'm not sure if this is supposed to work this way, but I managed to manually install the app to the development store from the admin's page.
I still doesn't work when I tried to let user click on a link from my website and call the GET access token API, which my webpage will still be redirected to that page with the message "Sorry, this shop is currently unavailable."
The API works from whatever button that triggers any API action calls from my website after the app is installed.
This is the first time I'm dealing with Shopify, so I'm a little confused.
Is it because the app is not published that I can't retrieve the access token of the development store from my website?