Project

General

Profile

Redmine User Integration

Added by Suhaib Malik over 10 years ago

Looking for some help on where to start with this,

I have a Redmine app that I want to integrate with my current user DB. The problem is, the passwords are stored with PHP's function 'password_hash'. Is there a way to integrate users from a database and then use a PHP script to authenticate the password?

Alternatively, is there a secure way of doing this with just cookies? (PHP and Redmine parts are on the same domain).

Thanks in advance,

Scrolls


Replies (3)

RE: Redmine User Integration - Added by Andriy Lesyuk over 10 years ago

Regarding session cookie sharing:

I have implemented the similar in the RedPress plugin (intended for WordPress integration)... I believe this plugin can be used for your purposes too.

You will also need to check the WordMine plugin for WordPress to see, how the shared session can be used on the PHP side.

RE: Redmine User Integration - Added by Suhaib Malik over 10 years ago

This looks pretty close to what I'm looking for!

However, is there a more bare-bones version of the same? I'm definitely for a cookie solution since I'm having all login requests redirected to one page, but I've no knowledge in ruby on rails.

RE: Redmine User Integration - Added by Suhaib Malik over 10 years ago

Making progress, however, I'm having a hard time figuring out how to get Redmine to read cookies from the whole domain.

Right now I've got Redmine on a subdomain and the parent app that handles login and will assign cookies is on the same domain, without a subdomain.

    (1-3/3)