I’m a pretty new rails developer, and I’m trying to implement an SSO system between a rails app using devise for the user authentication and a discourse app.
I’ve found this documentation and while helpful, it’s unclear to me how I’d make this work in practice between the rails side and the discourse side. I’ve extended Devise’s SessionController to include the SSO method and added a route, but beyond that I really don’t know where to go.
I’ve asked in the IRC channel, and there’s this SO question from someone else that never got an answer.
This is pretty critical for a site we’re hoping to launch next week and any kind of help would be much appreciated! I’d be happy to write up a blog post or post a detailed explanation here of how it worked after I get it working.