Currently, I have an application running on abc.website.com that utilizes devise for user authentication in Ruby on Rails. Now, I need to set up a react app on def.website.com which should only function if the user is logged in on abc.website.com (which also uses devise).
In order to achieve this, we will need to include a link in the navbar of abc.website.com that directs users to def.website.com.
Do you have any recommendations on how to best accomplish this task?
While I am new to Ruby, I am proficient in Javascript.
Thank you in advance for your assistance. Your help is greatly appreciated.