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. :-) 

- Jussi

On Thursday, March 21, 2013 3:41:13 PM UTC+2, Johan Vauhkonen wrote:
>
> How would I do authentication and authorization in a single page 
> application running with Rails as the backend?
>
> Any recommendations?
>

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msg/rubyonrails-talk/-/tntYSVLu9IkJ.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to