I am curious, are you using default auth tables or custom auth tables? I am still with errors 'loop redirect' when trying CAS...
On Tue, Oct 4, 2011 at 12:12 AM, Massimo Di Pierro < [email protected]> wrote: > Perhaps you need to set the cas_domain in the provider? > > http://web2py.com/book/default/chapter/08?search=cas_domain > > On Oct 3, 7:54 pm, mart <[email protected]> wrote: > > Hi all, > > > > I have a central App on our corporate intranet, and multiple instances > > of another app residing on multiple build servers. > > > > I would like users to be able to authenticated by registering an > > account on the central app (to server as provider), then get access to > > all other instances of the other apps (the consumers). But am having > > problems with the CAS feature of web2py. > > > > My assumption is that i need to change how auth is being defined in > > the consumer's db.py like this: > > > > auth = Auth(db,cas_provider='https://build5.nuance.com/ > > blueLite_central/default/user/cas') > > > > ** build5 being the server that hosts the central app > > > > First, on the consumer app, I did as above > > > > second, I added a user on the central app (the provider), > > > > & third, I tried to log in on to the consumer app, but got "invalid > > login" > > > > Note: the provider is a full deployement of web2py with administratove > > access, while the other apps don't have certs and do not have admin > > access (no use of https). > > > > Can anyone see what's wrong with what I am doing? > > > > As usual, any help is much appreciated. > > > > Thanks, > > Mart :) > -- -- Bruno Rocha [ About me: http://zerp.ly/rochacbruno ] [ Aprenda a programar: http://CursoDePython.com.br ] [ O seu aliado nos cuidados com os animais: http://AnimalSystem.com.br ] [ Consultoria em desenvolvimento web: http://www.blouweb.com ]

