I design a public app which use REST API to connect with Shopify. But I have a problem if I want to make an access token request to Shopify after if the app installed. There need to know the authorization code (code) to make an access token request but Shopify don't provide this parameter in the redirect if an app has been installed early, there are available only the followings: hmac, local, session, shop, timestamp.
Is there any ideas?
In installing: code, hmac, shop, state, timestamp
Solved! Go to the solution
This is an accepted solution.
authorization_code is actually just code. So you can get the access token by taking the code from the query and sending it, along with the client_id and client_secret, to /admin/oauth/access_token