[web2py] Re: CAS Auth redirect loop

2015-12-05 Thread علی پیشکاری
> > I have the same problem. I just created an empty mvc application. I cal redirect to cas login page but after loginig lopp error has occured -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.co

[web2py] Re: CAS Auth redirect loop

2013-10-10 Thread Mirko
Hi all, being on a LAN and behind a proxy, I solved this with: export https_proxy="" export http_proxy="" (on a linux box) Cas auth is working like a charm after that :) Hope it helps, Mirko On Wednesday, August 17, 2011 8:36:45 PM UTC+2, Bruno Codeman wrote: > > Hi again, everyone. Does a

[web2py] Re: CAS Auth redirect loop

2012-08-13 Thread H. Das
I have the same problem too. I'm using custom auth_user table, as well as a custom decorator. After a new user registration, the browser returns a 310 error. I have to remove this custom decorator from *every *controller function for the problem to disappear during new registrations. This is ve

[web2py] Re: CAS Auth redirect loop

2011-09-06 Thread Bruno Codeman
Any news about it? On 31 ago, 18:08, Jay wrote: > The only comment I have is that there may be problem in the code at > redirect. Raising an exception in redirect does not seem to work. I > would look there. > My $.02. > > Jay

[web2py] Re: CAS Auth redirect loop

2011-08-31 Thread Jay
The only comment I have is that there may be problem in the code at redirect. Raising an exception in redirect does not seem to work. I would look there. My $.02. Jay

Re: [web2py] Re: CAS Auth redirect loop

2011-08-25 Thread Bruno Rocha
Anthony, as your code looks more compact, an you open an issue? and link your example code? ( I would do it but my code is too large to paste in) On Fri, Aug 26, 2011 at 1:44 AM, Anthony wrote: > Yes, I even created a custom table by copying the exact auth_user table > from Auth.define_tables, a

Re: [web2py] Re: CAS Auth redirect loop

2011-08-25 Thread Bruno Rocha
May be this url? http://0.0.0.0:8000/tutor/default/user/cas/login?service=http://0.0.0.0:8000/ client/default/user/login

Re: [web2py] Re: CAS Auth redirect loop

2011-08-25 Thread Anthony
Yes, I even created a custom table by copying the exact auth_user table from Auth.define_tables, and it still generated the redirect loop, so it doesn't appear to have anything to do with the particular fields or definition of the auth_user table -- just the fact that it is defined outside of d

Re: [web2py] Re: CAS Auth redirect loop

2011-08-25 Thread Bruno Rocha
I ran in the same problem, I figured out that using custom auth tables in provider app make the client app to run in infinite loop. I also tried to include 'username' field to the custom Auth table but did not solve the problem. My custom Auth Table https://gist.github.com/1172687 ( I tried with

Re: [web2py] Re: CAS Auth redirect loop

2011-08-18 Thread Anthony
I'm not sure about this. Maybe submit a ticket on Google Code: http://code.google.com/p/web2py/issues/list On Thursday, August 18, 2011 8:25:36 AM UTC-4, Bruno Codeman wrote: > Thanks for your answer, Anthony. I fixed the problem returnin form = > auth.login() on the controller, instead of form

Re: [web2py] Re: CAS Auth redirect loop

2011-08-18 Thread Bruno de Oliva Bemfica
Thanks for your answer, Anthony. I fixed the problem returnin form = auth.login() on the controller, instead of form = auth(). But now, a new problem appeared: The client apps access the CAS server and after the login screen, they're redirected to the CAS app index page, instead of being redirected

Re: [web2py] Re: CAS Auth redirect loop

2011-08-17 Thread Anthony
Hmm, it appears to have something to do with the fact that you've got a custom auth_user table, but I can't figure out what. Maybe Massimo can help. Anthony On Wednesday, August 17, 2011 4:19:58 PM UTC-4, Bruno Codeman wrote: > Everytime I click the login button, I receive a message from firef

Re: [web2py] Re: CAS Auth redirect loop

2011-08-17 Thread Bruno de Oliva Bemfica
Everytime I click the login button, I receive a message from firefox/chrome with a 310 error(too_many_redirects) telling me to delete the cookies or allow third-party cookies. I have an app called "login"(the CAS Server) and another one called "ControleDeAtivos"(which should use the other app as a

[web2py] Re: CAS Auth redirect loop

2011-08-17 Thread Anthony
Can you show some minimal code that reproduces the problem? On Wednesday, August 17, 2011 3:56:32 PM UTC-4, Bruno Codeman wrote: > Anyone? The app is entering a redirecting loop everytime I try to > authenticate... > > 2011/8/17 Bruno de Oliva Bemfica > >> Hi again, everyone. Does anyone know w

[web2py] Re: CAS Auth redirect loop

2011-08-17 Thread Bruno de Oliva Bemfica
Anyone? The app is entering a redirecting loop everytime I try to authenticate... 2011/8/17 Bruno de Oliva Bemfica > Hi again, everyone. Does anyone know why a CAS auth could be entering a > loop redirect? > > -- > Bruno de Oliva Bemfica > *Engenheiro de Software* > MSN: brunocode...@live.com >