A simple solution would be to have two applications in the same domain, but in separate subdomains, for example:
- reporting.mydomain.com
- login.mydomain.com
Then add a shared cookie (set the cookie domain to .mydomain.com ).
The ASP.NET application can then check your Rails login application (via the web service / REST API) to get the username and login status from the session ID.
Although I also think that OAuth is a great way to go, it would work :)
source share