[web2py] JWT with ldap_auth and auth methods

2017-09-25 Thread Francisco García Claramonte
Hello all, I am using logging methods: ldap_auth (in 'ad' mode) and auth. My application logins perfectly from web auth form, validate with both methods, depending the order of them. I am using AuthJWT for remote access, from an Android mobile application. It works fine with local database. My

Re: [web2py] Active Directory (ldap) authntication problem

2017-06-27 Thread Francisco García Claramonte
Good Morning Richard, First thank you for your fast help. I'd changed my configuration according your example. Now, It is: auth.settings.login_methods = [ auth, ldap_auth(mode='ad', server= server_ldap,

[web2py] Use reserved Keyword 'response'

2017-05-11 Thread Francisco García Claramonte
Hello all, In a service Restful I need to return a dict in the form: {'response' : {'data' : .}} The problem is that I can't use 'response' Keyword this way. I get the error: keyword can't be an expression I would like to know if there is a way to do that. Thank you in advance. Regards, Fra

Re: [web2py] Re: GAE deployment problem with gluon.settings

2014-03-31 Thread Francisco García Claramonte
Hello all, The problem persists. But I fixed it upgrading to python 2.7. With app.yaml parameters: runtime: python27 threadsafe: true# true for WSGI & concurrent requests (Python 2.7 only) default_expiration: "24h" # for static files - url: .* script: gaehandler.wsgiapp# WSGI (Pytho

Re: [web2py] Re: GAE deployment problem with gluon.settings

2014-03-14 Thread Francisco García Claramonte
Hello Massimo, 2014-03-13 14:41 GMT+01:00 Massimo Di Pierro : > I made a change in trunk about this. Can you please check it? > > Thank you for your fast answer and patch. I'll test it in next days and I'll tell to the list. Thank you for your work. ;) Regards, Francisco > On Thursday, 13 Marc