Introducing cookieless authentication beta with App Bridge

I was working on my first Shopify App. When I tried to rebuild my app with the latest version of App CLI (rails), I was thrown off balance by the addition of the session token code. This thread helped, but I could not see how I was going to extend the concept into the rails framework. The cli puts some sample code in the home controller but it I could not quite see where to go from there. I saw the comment that suggested using turbolinks, and I found some general steps. However all became clear when I discovered the sample app https://github.com/Shopify/turbolinks-jwt-sample-app. Once I got that running, the mist cleared. I know I am not the sharpest pencil in the box, but I thought it may help someone else struggling as I was. I think I found the link to the sample app somewhere in the Shopify Docs, but hitting on the right bit of documentation (and clicking on the right link) is not always easy.

1 Like