Hi, some time ago I had a similar issue that I solved this way : https://groups.google.com/d/msg/web2py/FhtokyNZT7k/QEFQOdMzIP4J Hope it helps, Mirko
On Friday, December 20, 2013 8:05:10 PM UTC, viniciusban wrote: > > Hi guys, > I'm playing around with CAS and faced this error: > ---------------- begin here ---------------- > The webpage at > http://localhost:8000/cas/default/user/cas/login?service=http://localhost:8000/consumer/default/user/login# > > has resulted in too many redirects. Clearing your cookies for this > site or allowing third-party cookies may fix the problem. If not, it > is possibly a server configuration issue and not a problem with your > computer. > > Error code: ERR_TOO_MANY_REDIRECTS > ---------------- end here ---------------- > > It occurs in v2.8.2, but not in v2.7.4. > > My scenario is simple: > 1- One CAS provider application, called "cas". Actually, a raw copy of > welcome application. Nothing more, nothing less. > 2- One CAS consumer, called "consumer". Another copy of welcome > application with just one single modification in db.py: > auth = Auth(db, cas_provider="http://localhost:8000/cas/default/user/cas") > > 3- In consumer application, I have a default.py/protected() function > with @auth.requires_login() decorator. > > The workflow to reproduce the error is: > 1) Try to go to http://localhost:8000/consumer/protected. > 2) The login form will show up (from cas application). > 3) When I fill the form and click submit, the error happens. > > Is there anything I must configure in v2.8.2 to allow CAS to work out? > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.