hum.... so i added the cas_domains to the provider... maybe getting
further (but not sure)...

When I hit the login page for the consumer (this is on 127.0.0.1), it
brings me to the provider alright, but the redirect throws an
exception. It tell that the exception is a result of too many
redirects...

is this because the consumer is local (127.0.0.1) and the provider is
accessed through VPN on the corporate network?

thanks,
Mart :)



On Oct 4, 1:01 am, mart <[email protected]> wrote:
> sounds good, will try the cas_domain. Thanks for the suggestion.
>
> @ Bruno: I'm using the default auth tables
>
> thanks
> Mart :)
>
> On Oct 3, 11:35 pm, Massimo Di Pierro <[email protected]>
> wrote:
>
>
>
>
>
>
>
> > I re-tested it last week and I cannot reproduce this error.
>
> > On Oct 3, 10:18 pm, Bruno Rocha <[email protected]> wrote:
>
> > > 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]

Reply via email to