Is it possible to transfer the valid session from Django to RoR? I'm not
really sure if that makes sense, but it's what comes to mind. Basically, if
you have already authenticated on one framework you should be able to pass
along the authentication without having to copy the password over.

FWIW

On Wed, Feb 17, 2010 at 4:09 PM, geraldcor <gregco...@gmail.com> wrote:

> Hello all,
>
> Internally, we have some RoR apps and Django apps. Our main website
> runs on Django and is considered to be the main portal for all other
> apps. Currently, we have a Rails authentication system and a Django
> authentication system. We want to have one user table to authorize
> against.
>
> The only problem I see is that the password stored in auth_user is
> salted and hashed and impossible to get at because the salt is not
> saved. How can I use the django auth_user in Ruby On Rails?
>
> I have found this: http://docs.djangoproject.com/en/dev/howto/apache-auth/
> but I don't know if that will work on the ruby server. Both ror and
> django applications that we want to authenticate are on the same
> server and use the same db (except our main website which is on
> webfaction - but that's a different story I will tackle later -
> possibly replication?).
>
> So, anyone know how to a) access the raw string from auth_user or b)
> set up ruby (or other language and extrapolate) to properly interpret
> the password hash?
>
> Thanks for listening.
>
> Greg
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To post to this group, send email to django-us...@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscr...@googlegroups.com<django-users%2bunsubscr...@googlegroups.com>
> .
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to