Introducing cookieless authentication beta with App Bridge

Thank you for your comments. I fully take your point about turbolinks.

I am working on a small app, and have dispensed with turbolinks and the extra code added to make tubolinks work. I am doing page updates using rails templates and ajax requests.

I have a couple of things that I would welcome some help with.

  1. keepRetrievingToken. this was added to shopify_app.js for turbolinks, and I have added a similar function in my non-turbolinks app. Without it I get token expired failure. Since there is no mention of having to poll the session token for other shopify app session token examples, I figure I should be able to avoid it, but don’t know how this is done.

  2. When I get an auth fail, my app redirects to the login page, but this does not get rendered because I am expecting an ajax request. At least that is what I think is happening.

I am starting out with React.js and like what I see. I have built and installed the next-gen-auth-app-demo, I cant really see how to extend the app from the basic home page to add pages to the app. Nor can I see if it would be necessary to poll the session token to keep it live in this app, and indeed if not why.