Issue with OAuth when doing Install - Uninstall - Install again an app

Issue with OAuth when doing Install - Uninstall - Install again an app

kpatel1
Shopify Partner
1 0 0

My App is not released yet on App store, we are doing the development. 

 

When I did the install of the app first time on my test development store, I got the code/state/hmac/shop/host params in the redirect url as mentioned here at https://shopify.dev/docs/apps/build/authentication-authorization/get-access-tokens/auth-code-grant

 

However, I did the uninstall of the app via store admin dashboard and did the install again, I am not getting the code/state params. Since I don't have the code param in the redirect url, I am unable to get the access token.

 

I tried creating a new development store and then install the app to this store, in the redirect url state/code params are missing.

 

How do I get this worked out? Is there any additional steps to be done in such cases?

 

Thanks

Replies 0 (0)