简体   繁体   中英

Device & ActiveResource

I want to have 1 database for few projects and only one of them have direct connection to db, first of all I want to implement user authentication. I should work over REST , without connecting to database. D you have any experience with devise gem working together with active resource. Thank you.

Sounds like you're looking for a single-sign-on solution. What you can do is setup one application to have a REST API, and enable single sign on for it which the others can utilize to connect to it. Try looking at this railscast about Single Sign On using OpenID.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM