Too many redirects error while re-opening the app from store

Highlighted
Tourist
7 0 0

Hey!

The app works fine when a store installs the app. 

But when the store goes back to login into the app by clicking on Apps > Dropzone - am getting a too many redirects error. 

Screenshot 2020-09-22 at 1.26.39 PM.png

 

This is what I have under my initialisers 

 

```

config.old_secret = ""
config.scope = 'read_products, write_products'
config.embedded_app = false
config.after_authenticate_job = false
config.api_version = "2020-07"
config.shop_session_repository = 'Shop

```

 

Everything is working fine on first install.. But if a store tries logging in the second time into the app from the admin panel, getting this error.

 

Any idea how I could fix this? 

 

Thanks

 

Arjun

0 Likes