I need to have a custom authentication module - mainly pointing to
and using my own auth_user and auth_group tables
Which modules from the base (welcome) do I need to change or what
documentation do i need to read up on on how to do this ...
Thanks
*Ben Duncan*
DBA / Chief Software Architect
Hello all!
How i can take control of the registration,login, etc forms? It is very
important that I process the registration form ( i have an 'organization'
table in db and based on some info the user enters on the registration page
i should create corresponding organization entry and based on
In custom auth table even if email field is set to unique=true, if user
inputs two different values different in case ex.( 'em...@gmail.com' and
'em...@gmail.com' ) it will accepts both and will store both of them in
database. Hence enabling a user to signup with the same email id multiple
Is it possible for auth_user table to consist of username password only
apart for the auto generated id.
In my situation the username which can be set by
auth.define_tables(username=True), but the other fields in the auth_user
table is not required. The reason is that I only need to dump the
Greg, I know this is an old thread, but did you ever come up with a
solution? I've got an asp.Net app that I'd be nice to be able to
authenticate against.
Thanks
Brian
On Wednesday, October 9, 2013 9:22:07 PM UTC-5, GregD wrote:
We have to use tables from sql server (aspnet_user and
hi,
i have custom auth table that work in earlier version but not in recent
version.
e.g.
create new application and then add this code
*models/db.py*
db._common_fields.append(auth.signature) # work if commented
# create table : bank
db.define_table('bank',
Field('bank'),
format =
Hi folks, we have one table in database with users wich contains 3 fields,
id, email, password. How can I use Auth object with this table without
creating additional fields like registration_key, registration_id ??
actually I don't want to touch the tables because it's used by other
We have to use tables from sql server (aspnet_user and aspnet_membership)
for our authentication.
So we've extended Auth like this
from gluon.tools import Auth
def MyNewAuth
...
# we copied the Login method from Auth to here
...
# use the following code to decipher the password from
Actually, you must understand Auth to extend it.
Mainly to authenticate user and put its data on session (login).
You don't need to make an Auth subclass, but compose a solution doing
the same thing.
Or you can think about login_bare, too.
On Wed, Oct 9, 2013 at 11:22 PM, GregD
We created a form in the index controller to authenticate users to a
database that utilize asp.net membership for authentication. However, we
need to turn on Authentication for all forms now, but can't seem to do it
since we didn't use the web2py built-in authentication mechanism.
Is it
Web2py Auth is a class.
You should extend it and in models/db.py you should have something like:
auth = MyExtendedAuth()
On Tue, Oct 8, 2013 at 2:54 PM, GregD gregory.do...@gadgroup.com wrote:
We created a form in the index controller to authenticate users to a
database that utilize asp.net
hi,
is it possible to custom auth table on separate file not in db.py?
for example :
*models/db_wizard.py*
# append fields : auth.signature
db._common_fields.append(auth.signature)
# custom auth user table
auth.settings.extra_fields['auth_user']=[
Field('gender', 'list:string'),
I am working on my own external authentication.
From reading the source of gluon.tools and gluon.contrib.login_methods it
appears I need a class that implements the following methods to do my own
authentication:
get_user()
login_form()
Then in my db.py just do an auth.settings.login_form =
Hey guys! I have added a extra field in auth_user named account_type now
I want that field to reference a table in the db called account_type and
display the contents of that field in the registration as a dropdown. Here
is what I did so far:
db = DAL('mysql://***:@localhost/lion')
try with :
db.auth_user.requires = IS_IN_DB(db, 'account_type.*id*')
On Tue, Aug 21, 2012 at 11:01 AM, Rujaun Fourie ruj...@googlemail.comwrote:
Hey guys! I have added a extra field in auth_user named account_type now
I want that field to reference a table in the db called account_type and
Hello,
I have a legacy MS SQL db with a User table with lots of old data:
db3.define_table('People',
Field('People_ID', 'id'),
Field('LastName', length=50),
Field('FirstName', length=50),
migrate = False
)
custom_auth_table = db3['People']
# tell Auth to use this table
I have customized my auth table and allow via a configuration file to
login via LDAP. If LDAP is enabled the username field should be used
for login if LDAP is not enabled the email field should be used for
logging in.
Is this possible?
looking into def login_bare() and def login() it seems like
Hi,
Bit of a noob question (sorry) but I'd like to add a page /user/
combinedLogin to my app, which combines the login and register forms,
but can't work it out. This:
if request.args(0)==login:
=auth.login()
=auth.register()
works fine, but I'd like to expose a new url
Hey everyone,
Is it possible to define custom auth methods and override the existing
methods with our own? For e.g. I am making an application that
authenticates against a remote website not the existing application.
So, I just want to authenticate remotely and if it is successful, just
get the
19 matches
Mail list logo