Arti
Arti

Reputation: 407

Sharing devise session between two rails apps

I've got two apps running on different domains. Those Rails 3.2 applications are using exactly the same user database and same authentication gem (Devise).

Is it possible to share session between those two apps? I tried to setup Application.config.secret_token into same values, but without success.

Upvotes: 1

Views: 2954

Answers (1)

fiskeben
fiskeben

Reputation: 3467

Since your apps don't share any other parts of the stack than the database I think that would be a nice place to start. Take a look at this post about how to achieve that.

Upvotes: 1

Related Questions