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:
http://localhost/app/default/user/login?_next=%2Fa
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
used
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
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)
- https://
Seems like this plugin isn't supported/updated. It still connects
to browserid.org (They changed the name from Browser ID to
Persona.)
(in contrib directory to web2py, and the google code project.)
And is there a reason to redirect to http://google.com on failed
logins? Nearly everything else is a
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
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
its share of bad days..
On Feb 5, 6:47 pm, Alan Etkin wrote:
> Congratulations. I tried to open the url of the project and it returns
> a 404 error.
>
> On 4 feb, 12:54, whowhywhat wrote:
>
>
>
>
>
>
>
> > Dear Web2py community,
> > I just finished w
Congratulations. I tried to open the url of the project and it returns
a 404 error.
On 4 feb, 12:54, whowhywhat wrote:
> Dear Web2py community,
> I just finished writing a web2py authentication plugin (custom
> authentication) to authenticate using BrowserID accounts (https://
> b
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
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 wrote:
> On Tuesday, Novembe
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?
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" escreveu:
> On Tuesday, November 8, 2011 7:08:08 AM UTC-5, rochacbruno wrote:
>>
>> Yes it works wel
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* fo
How this sharing one database works with SQLLite file lockig?
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 wrote:
> Hi,
>
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 this
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 = db.calendar_
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 store
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 :
> Is it possible to authenticate users based on their digital certificates?
> Couldn't find anything relevant in the book.
> That wo
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.
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 on
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 dict(temp=temp)
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?
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 insta
-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 n
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='' Does this key have a specific format, e.g. 448a98e0-00fd-46b2-
ac
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.
I'm having a problem with authentication. This was working, but now when I
enter email and password and click Submit, the form refreshes (removing
the email and password) but doesn't authenticate. DB tables for user look
good.
What's the best way to debug this?
Thanks for hints...
--
To unsub
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
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 wrote:
> Hello Everyone,
>
> I'm working on a project that is controlled via a web2py app and
> grants permissions to ot
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 ap
32 matches
Mail list logo