APP Callback doesn't have a code parameter

I’m creating an application, but when I checked the documentation, I noticed that the return URL should come with the “code” parameter. However, when I try to test the app, it returns a URL without this parameter, as a result of which I can’t proceed with the authentication.

Here’s what I’m receiving:

index.php?hmac=1c31e7df3283d4743e4fb6abc5618c28e714ace47dcba1f46054e1ef63f5****&host=YWRtaW4uc2hvcGlmeS5jb20vc3RvcmUvdGVzdGVpZ29*****&shop=testeigordev.myshopify.com&timestamp=1706590808

Does anyone have an idea of how to proceed?

1 Like

Can you show me the documentation you are following?

Of course, I’m following this documentation here Getting started with OAuth (shopify.dev)

What coding language will your app be and is this app public or private?

I am developing in PHP, using the following library https://github.com/phpclassic/php-shopify. However, the situation I mentioned occurs when I go to my application’s address in the partner dashboard https://partners.shopify.com/3426087/apps/84292796417/overview and click on ‘Test the app > Select Store’. When I install the app in the test store, it redirects to the configured URL, but the code parameter is not included, only the ones I showed above.

I’m experiencing similar, although I’m seeing traffic to the return URL missing all the parameters, not just the code.