[web2py] authentication variables in url when login is incorrect

2019-05-21 Thread Fred Nikolayevich
Hi, I have a problem with the ldap auth since I upgraded my application from web2py 2.14.6 on Python 2.7 to the current web2py 2.18.5 on Python 3.7. In the old version when I logged in with incorrect credentials it would reload the login page:

[web2py] authentication fields

2018-02-17 Thread F.C.
I am creating custom forms using the standard authentication sql forms. Where can I get a list of all the relevant fields that come with these forms. For example, for the password, reset I believe that password and password_two can be used to grab the password from the user. What field is

[web2py] Authentication without password or blank password

2016-08-20 Thread Vin
Hi all, I have an application to which I would like to grant access via user name only. No password. But whenever I try to create a user with a blank password, I get the error "password too short", and the form will not let me continue. Is there a way to enable minimal authentication, without

[web2py] authentication of the soap services

2016-02-20 Thread mirco barone
I state that I started recently with web2py , I have to implement an authentication of the soap services . Which is the best way to do it ? Examples ? thank you -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) -

[web2py] Authentication

2012-06-25 Thread aungsan
I got following issue with web2py Authentication. I have to authenticate through URL http://www.example.com/something/q?ID='username'pass='password' It return true or false. I cannot go and change it. And I have to do authentication with it for sure. After I got true or false, I would like

[web2py] Authentication failed ajax call

2012-06-03 Thread Paolo
Hi all, I've just figured out that on_failed_authentication works only when requests are not ajax calls. It would be nice to have a custom method even if request.ajax is True, what about to add a new method (i.e., on_failed_authentication_ajax) to auth settings? Otherwise how I can redirect to

[web2py] Re: BrowserID web2py authentication plugin done! Please test

2012-02-05 Thread Alan Etkin
Congratulations. I tried to open the url of the project and it returns a 404 error. On 4 feb, 12:54, whowhywhat mads...@gmail.com wrote: Dear Web2py community, I just finished writing a web2py authentication plugin (custom authentication) to authenticate using BrowserID accounts (https

[web2py] Re: BrowserID web2py authentication plugin done! Please test

2012-02-05 Thread whowhywhat
its share of bad days.. On Feb 5, 6:47 pm, Alan Etkin spame...@gmail.com wrote: Congratulations. I tried to open the url of the project and it returns a 404 error. On 4 feb, 12:54, whowhywhat mads...@gmail.com wrote: Dear Web2py community, I just finished writing a web2py

[web2py] BrowserID web2py authentication plugin done! Please test

2012-02-04 Thread whowhywhat
Dear Web2py community, I just finished writing a web2py authentication plugin (custom authentication) to authenticate using BrowserID accounts (https:// browserid.org). BrowserID is a project by Mozilla Labs (mozillalabs.org). It aims to provide a de-centralized, free, easy to use authentication

[web2py] Authentication

2011-11-08 Thread Nils Olofsson
Hi, Just wondering if this is possible, I think it should be... I have a 2 web2py application, but i want them to have a common authentication db. I was thinking of doing this in the model DB for both. authdb = DAL('mysql database') Then auth = Auth(globals(),authdb) I have now tested

Re: [web2py] Authentication

2011-11-08 Thread Bruno Rocha
Yes it works well. You can also use *cas* to share authentication between applications. But the approach using same db for both applications is better, but note that both applications should have the same *hmac_key* for auth instance. On Tue, Nov 8, 2011 at 9:06 AM, Nils Olofsson

Re: [web2py] Authentication

2011-11-08 Thread David Marko
How this sharing one database works with SQLLite file lockig?

Re: [web2py] Authentication

2011-11-08 Thread Anthony
On Tuesday, November 8, 2011 7:08:08 AM UTC-5, rochacbruno wrote: Yes it works well. You can also use *cas* to share authentication between applications. But the approach using same db for both applications is better, but note that both applications should have the same *hmac_key* for auth

Re: [web2py] Authentication

2011-11-08 Thread Bruno Rocha
if you store sessions in a shared database you can be logged in both apps. I still have no success running cas with a custom auth table. http://zerp.ly/rochacbruno Em 08/11/2011 10:55, Anthony abasta...@gmail.com escreveu: On Tuesday, November 8, 2011 7:08:08 AM UTC-5, rochacbruno wrote: Yes

Re: [web2py] Authentication

2011-11-08 Thread Anthony
On Tuesday, November 8, 2011 8:44:07 AM UTC-5, rochacbruno wrote: if you store sessions in a shared database you can be logged in both apps. Oh, right. I still have no success running cas with a custom auth table. Did you submit an issue?

Re: [web2py] Authentication

2011-11-08 Thread nils
Hi, Ok this sound good, I figured i could, I was thinking of storing session in database, but I don't think user will be logged into the 2 apps at the same time, and I don't really want a complicated CAS setup. Regards, Nils On Tue, Nov 8, 2011 at 12:55 PM, Anthony abasta...@gmail.com wrote:

[web2py] authentication question

2011-09-27 Thread Alex
Hi, I've a function to edit a calendar item and I want to make sure that only an admin user or the user who created this item can edit it. Now I'm doing something like this: @auth.requires_login() def edit(): is_admin = auth.has_membership(role='admin') edited_calendar_item =

[web2py] authentication question

2011-09-23 Thread Anaconda
I saw a web app that uses a chrome extension, when you first click on the extension it redirects you to the website to login, then you can use the extension to add bookmarks to the website/your profile on the website. My question is what is the mechanics behind this, is the authentication key

[web2py] Authentication using digital certificates

2011-09-15 Thread Harald Ersch
Is it possible to authenticate users based on their digital certificates? Couldn't find anything relevant in the book. That would be a cool feature, a must have for real enterprise applications.

Re: [web2py] Authentication using digital certificates

2011-09-15 Thread Michele Comitini
Hi Harald, x509 based authentication is being added to trunk expect it to be available soon (a matter of days if testing goes well). mic 2011/9/15 Harald Ersch harald.er...@gmail.com: Is it possible to authenticate users based on their digital certificates? Couldn't find anything relevant

[web2py] Authentication for services in iPhone not work

2011-08-08 Thread Relsi Hur
Hello, I have a simple function, like this: @service.xmlrpc def list_car(): cars=db(db.car.id_person==auth.user.id).select(db.car.id, db.car.color) return cars.response Well, I'm accessing the service so: https://username:password@my_server/my_app/service/call/xmlrpc This works fine

[web2py] Authentication using xmlrpc

2011-06-07 Thread Abhishek Gupta
Hello, I have an application in web2py. To create the command line interface of the gui (web-interface), I want to use xmlrpc service. For example if I have following function : @auth.requires_login def example(): temp = request.args[0] //do something on temp return

[web2py] authentication with services

2011-02-17 Thread elffikk
I want to do that @auth.requires_login() @service.amfrpc3('myservice') def item_list(): return [1,2,3] but of course it will not work as it can't redirect to login form, how to use then authentication and authorization here?

[web2py] Authentication and multiple logon sessions

2010-11-11 Thread Alex
Hello, I have a question regarding how the authentication defines each unique user session. I am working on an app that uses the authentication and was trying to test with multiple users logged onto my site. My test is opening IE and logging onto the site as one user, then opening a new IE

[web2py] Authentication over domains

2010-11-08 Thread David Zejda
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 My application is running on more domains. Users wish to move from one domain to another, being still signed-in. I used combination of JS and Ajax to transfer the credentials from sessions between domains, adhering to security measures of JS which do

[web2py] Authentication

2010-05-21 Thread annet
I read chapter 8 of the web2py manual and some post on authentication to get started (again) implementing a cms. I read about MD5 and SHA-512, and understand I have to provide a secret key for this setting: auth.settings.hmac_key='your secret key' Does this key have a specific format, e.g.

Re: [web2py] Authentication: form just refreshes, won't validate login

2010-04-11 Thread Keith Edmunds
Problem solved. For the sake of others searching on this: some of the distribution files under applications/my_app were from an earlier version of web2py. -- To unsubscribe, reply using remove me as the subject.

[web2py] authentication / authorization error or a bug???

2010-01-14 Thread b-global.net
Hello: I have a problem, I do not know if this is a bug or I'm making something wrong!!! I add this: auth=Auth(globals(),self.db) auth.define_tables() mail=Mail() # mailer mail.settings.server='localhost:25'# your SMTP server

[web2py:38267] web2py authentication for non-web2py apps?

2010-01-03 Thread JimK
Hello Everyone, I'm working on a project that is controlled via a web2py app and grants permissions to other non-web2py applications. Does anyone have any insight on how I can first direct the user to register/login to his account via the web2py app and then allow the users to access the other

[web2py:38268] Re: web2py authentication for non-web2py apps?

2010-01-03 Thread mdipierro
It really depends on a lot of details but you may want to look into this: https://www.web2py.com/cas instead of using the built-in web2py auth. Massimo On Jan 3, 3:16 pm, JimK jkel...@gmail.com wrote: Hello Everyone, I'm working on a project that is controlled via a web2py app and grants