Yes it works well.

You can also use *cas* to share authentication between applications.

But the approach using same db for both applications is better, but note
that both applications should have the same *hmac_key* for auth instance.

On Tue, Nov 8, 2011 at 9:06 AM, Nils Olofsson <nils.olofs...@gmail.com>wrote:

> Hi,
>
> Just wondering if this is possible, I think it should be...
>
> I have  a  2 web2py application, but i want them to have a common
> authentication db.
>
> I was thinking of doing this in the model DB for both.
>
> authdb = DAL('mysql database')
>
> Then
>
> auth = Auth(globals(),authdb)
>
> I have now tested this but would this work ?
>
> Nils
>



-- 

Bruno Rocha
[http://rochacbruno.com.br]

Reply via email to