Integrating a Discourse forum with a Devise rails app -


so i'm looking integrate discourse forum same authentication main app (devise). mainapp.com , forum.mainapp.com. lot codeschool , hummingbird has going.

i saw another question asked year ago , wondering if there have been improvments/ideas on doing this.

a user sign @ mainapp.com , automatically signed in forum.mainapp.com using devise user details fill discourse user fields.

as new ruby/rails developer it's bit hard wrapping head around do, although suspect starts @ carrying session cookie on mainapp.com forum.mainapp.com.

wondering if has become easier on past year , if can steer me in right direction implementing this.

discourse supports single sign on integrate discourse users main website now. official documentation here:

https://meta.discourse.org/t/official-single-sign-on-for-discourse/13045


Comments

Popular posts from this blog

php - SPIP: From Tag directly to an article -

jquery - isAjaxRequest always return false -

ruby on rails - In a controller spec, how to find a specific tag in the generated view? -