ilugobayo
ilugobayo
@kato-takaomi-ams doing that means you have the initialization twice? One outside `app.use` and another inside `app.use`? @jt274 have you tried the proposed solution, if so, did it fix the problem?
@kato-takaomi-ams My bad, I was referring to `app.prepare().then()`, but anyway, with this you fixed the OAuth loop then? Do you use the both access modes, or only the online access...
@kato-takaomi-ams & @jt274 why did you decide to change it to Typescript? By the way, I tried your solution but it didn't work, got this error: ``` (node:171296) UnhandledPromiseRejectionWarning: TypeError:...
@jt274 yes, this is exactly the behavior I have, at some point `Shopify.Utils.loadCurrentSession` DOES retrieve a session but when the main page is about to load, it redirects me to...
@jt274 it's really odd, because the `loadCallback` execution actually loads a session, but why `loadCurrentSession` would never return anything since it should execute those functions, only sessions with random ID,...
@jt274 I think that's actually the case, maybe it's just too fast; it would be really helpful to find someone that already solved this or someone that could guide us...
@jt274 In this case, the issue is on our side? Or can be considered a bug?
Hello, thanks for the reply. My first implementation here was just returning the parsed JSON but it didn't accept it as valid object. And about why I'm returning only that,...
@thecodepixi I modified my `CustomSessionStorage` to update the session record in the database, this because at first I receive a `Session` object like this one: ``` Session { id: 'offline_bayotest.myshopify.com',...
My problem is the same as yours, whenever I press one of the navigation items the app goes through the auth process all over again and displays the main page,...