Reputation: 2578
I have a perfectly working rails application including devise authentication.
I created a second separated rails application for the public website, which runs as separate heroku application.
The problem is: It should be possible to sign up and sign in to the main application using forms in the public website.
How is it possible to authenticate users using devise through a form in a different application? What's the best approach?
Upvotes: 1
Views: 904
Reputation: 30773
If your applications use different subdomains but are under the same domain, this article might help.
And Chris Oliver took an approach to implement this in Rails 3.1 here
Upvotes: 1