Authenticate a server-side rendered embedded app using Rails and Turbolinks

If you have a multi-page server-side rendered (SSR) app and you want to use session token-based authentication, then you can still use session tokens by converting your app to use Turbolinks. Turbolinks is a JavaScript library that makes your app behave as if it were a single-page app. You can use Turbolinks even if you're unsure or not yet ready to convert your app to a single-page app.

This tutorial shows you how to convert your multi-page SSR app to use authentication based on session tokens with Turbolinks.