Cross domain session sharing in Rails - Part 2
13-Nov-2019 1990
We have multiple micro services at Memory.ai which talk to each other and share data. As we are extracting more and more micro services, we were facing the problem of adding authentication layer in every service. In an ideal world, only one service would perform the authentication and other services will just delegate the authentication to that service.In the first part of this blog series, we saw how Rails and Devise use cookies and session to authenticate the user. In this post, we will see how to share the cookies and session between multiple Rails apps.
Cross domain session sharing in Rails - Part 2 #ruby #rubydeveloper #rubyonrails #Cross #domain #session #sharing #Rails https://www.rubyonrails.ba/link/cross-domain-session-sharing-in-rails-part-2