Why is my app causing an authentication redirection loop?

Hello,

I developed a shopify app but recently my customers can’t connect anymore: the application makes infinite redirections from “auth” to “/”.

I found that uninstalling the app then reinstalling it solved the problem… but that’s not a viable solution for my customers!

Any help will be super appreciated.

Regards, Vincent

I use shopify app-bridge and koa packages:

"@shopify/app-bridge": "^2.0.3",
"koa": "^2.13.1",
"koa-bodyparser": "^4.3.0",
"koa-router": "^10.0.0",
"koa-session": "^6.1.0",
...

I just noticed that every time I deploy the application on the heroku server, the addon does not open anymore and makes redirections