So I'm looking to integrate a Discourse forum with the same authentication as the main app (Devise). It would be mainapp.com and forum.mainapp.com. A lot like codeschool and hummingbird has going.
I saw another SO Question that was asked a year ago and wondering if there have been any improvments/ideas on doing this.
A user would sign up at mainapp.com and be automatically signed in to forum.mainapp.com using their devise user details to fill discourse user fields.
As a fairly new ruby/rails developer It's a bit hard wrapping my head around what to do, although I suspect it starts at carrying a session cookie over from mainapp.com to forum.mainapp.com.
Wondering if this has become easier to do over the past year and if anyone can steer me in the right direction for implementing this.