Hello.
I am looking for a way to build an embedded app using Shopify CLI, Shopify App Bridge does not use templates with existing backend server using Golang.
The authorization code is obtained by your app after the user accepts the app installation, and Shopify redirects the user to the redirect URI that you provided during the app setup process. The authorization code will be included in the query parameters of this request to your redirect URI.
As you can see, the authorization code is passed in the code parameter.
If you’re not seeing this request to your redirect URI or not seeing the code parameter, make sure that you’ve correctly set your redirect URI in your app settings in the Shopify Partner Dashboard and make sure that your app is correctly handling the initial installation request and redirecting the user to the Shopify authorization prompt.
So I created similar files as in the redirect callbacks to be able to get code params from the url. But it seems that after installing the app, it doesn’t actually go to the redirect pages. I can’t log code params in console.