Single page application authentication and authorization

For one-page or bigger solution - I would read Chapter 8 from the http://railstutorial.org book. It describes a do-it-yourself (and hence, fully customizable) solution based on SessionsHelper. The solution provides authentication which is persistent ower browser window close (by help of cookies, of course).

I am just going through that book myself, so I am just a newbie. Based on your question, I would guess that so are you. :slight_smile:

  • Jussi