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
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
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
: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
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.
5 matches
Mail list logo