[web2py] Re: Problem with CAS and basic authentication

2018-08-24 Thread kakella
Looks like the issue is being tracked in this thread https://groups.google.com/forum/#!searchin/web2py/basic$20auth%7Csort:date/web2py/An-BhLG_HgY/9sm5RX10BQAJ Closing this thread -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Sour

[web2py] Re: Problem with CAS and basic authentication

2018-08-23 Thread kakella
controller code: @auth.requires_login() def call(): session.forget() return service() @service.json def test(): return ('Hello ',auth.user) last few lines of curl output: > GET /myapp/helper/call/json/test HTTP/1.1 > Host: localhost:8000 > Authorization: Basic

[web2py] Problem with CAS and basic authentication

2018-08-22 Thread kakella
My app is configured with CAS (another web2py instance with Active Directory integrated) and authentication works. Now I want to enable basic authentication for certain calls via curl and cannot make it to work. When I invoke the curl command I get a redirect to the CAS login page. auth.settin

[web2py] Re: Field represent not working in rows.render

2018-06-06 Thread kakella
:52 AM UTC-4, kakella wrote: >> >> Need some insights into the below issue. The functionality is working >> correctly in the SQLForm.grid but doesn't work when returning data as json >> under certain circumstances as mentioned below. >> >> When using the rows

[web2py] Field represent not working in rows.render

2018-06-05 Thread kakella
Need some insights into the below issue. The functionality is working correctly in the SQLForm.grid but doesn't work when returning data as json under certain circumstances as mentioned below. When using the rows.render and passing multiple fields as argument there is an exception "web2py.app.