Rails: authentication system based on external API
Posted
by
Slevin
on Stack Overflow
See other posts from Stack Overflow
or by Slevin
Published on 2012-10-18T10:58:14Z
Indexed on
2012/10/18
11:00 UTC
Read the original article
Hit count: 190
ruby-on-rails
i'm building a Rails application to extend features of an existing online Rails app. The existing Rails app provides an API for authentication.
My approach: user X have an account at the existing Rails app. With these login data the user X should authenticate on my Rails app. The existing app offers a gem to connect to the API after login.
Whats the best method to store the information about a successful login? Should i use sessions? Or does Rails offer better methods for this?
© Stack Overflow or respective owner