Auto login of an PHP app and Bitnami Redmine

2019-07-28 09:49发布

问题:

Is there any possibilities that when I log in to my PHP app, I can automatically logged in to Bitnami Redmine and vice versa?

回答1:

Sounds like a session sharing...

I implemented the similar for WordPress, that is you need:

  • Patch Rails to make them store sessions in JSON (not Ruby-specific Marshal). I did this in my RedPress plugin for Redmine - so you can use it.
  • Use Rails session in your PHP app. I did this in my WordMine plugin for WordPress - so you can use it as a sample.