Single sing on with PHP


#1

Hi all,

For our next project we are required to integrate a rails application
with a
PHP application.
The PHP application is going to be used to authenticate users. When the
user
is logged into the PHP application, the user should automatically be
logged
into the Rails application (Single Sign On).

What might be a good strategy to achieve this result? Maybe somebody did
something like this before?

Regards,

Harm


#2

On 5/1/07, Harm de Laat removed_email_address@domain.invalid wrote:

For our next project we are required to integrate a rails application with a
PHP application.
The PHP application is going to be used to authenticate users. When the user
is logged into the PHP application, the user should automatically be logged
into the Rails application (Single Sign On).

What might be a good strategy to achieve this result? Maybe somebody did
something like this before?

Cookies are the easiest way I have found. With a little effort you
could use sessions… PHP sessions are plain text but ActiveRecord
sessions are serialized by default.


Greg D.
http://destiney.com/


#3

Hi Greg. I was quickly browsing your site and came across your
database schema

http://trac.rorcms.com/trac/cms/browser/doc/cms.png

I was wondering what program you used to create it :slight_smile:

Thanks
Akshay


#4

On 5/1/07, sthapit removed_email_address@domain.invalid wrote:

Hi Greg. I was quickly browsing your site and came across your
database schema

http://trac.rorcms.com/trac/cms/browser/doc/cms.png

I was wondering what program you used to create it :slight_smile:

Omnigraffle.


Greg D.
http://destiney.com/