for the record. i had to change this a bit to get it to work.
i was getting 'too many redirects' when i used this, so i changed it
to this:
(so it did not try to redirect when db.py was processing the 'login'
request)
if auth.user is None and 'login' not in request.args:
redirect(URL('default'
Has anyone successfully implemented a multi-tentant application in
web2py? If so, can you give me any pointers?
I have considered using the GAE namespace stuff to add multi-tentant
functionality, but I do not like that I am then making GAE a
requirement for my application.
I would prefer to add
Has anything become of this? I am also looking for this functionality.
Has any work been done on this?
Thanks,
Will
I am not sure where I should be putting bug reports, so please let me
know.
There is a bug in 'gluon/contrib/login_methods/openid_auth.py'.
On line 244:
- self.db.alt_logins.insert(username=oid, user=user)
+ self.db.alt_logins.insert(username=oid, user=user.id) # there is a
DB error when trying t
I just wanted to point out that the 'site-packages' directory is
missing in the source download of the 1.94.6 version.
I added the directory in my project and added back in my libs and
everything is working. It just looks like the empty directory was
left out in this last version.
Cheers...
Try putting your module in 'web2py/site-packages' and reference it
with a normal import and see if that works. If it does, good, but it
wont help us understand the problem.
If it doesn't, it may give you some more insight into why your module
is not importing using local_import().
On Mar 30, 1:1
It is worth noting that you will need to get the python-openid package
from (http://pypi.python.org/pypi/python-openid/) and add the 'openid'
folder to the folder 'web2py/site-packages' in your project so it can
be referenced by 'openid_auth.py'
On Mar 30, 1:03 pm
I have spent the last two days battling with this. I was so close for
so long that I could not leave it alone until I figured it out.
I am happy to say that I have OpenID working both on the basic server
and GAE.
You can see my struggles and the final result here:
http://groups.google.com/group/
se janrain which also supports openid. I use
> it for my app and it works fine. Massimo explained the setup here:
>
> http://blip.tv/file/4912976
>
> Regards,
> Arbie
>
> On Mar 31, 12:08 am, Will Stevens wrote:
>
>
>
>
>
>
>
> > I have continued bat
I have continued battling with this. Still no luck...
Any input would be appreciated...
ws
On Mar 29, 4:07 pm, Will Stevens wrote:
> I have continued testing and I have further confirmed that the only
> time I am having the redirect issue of:
> [DB] profiles.google.com/willi
t': '/cloudops/dashboard/user/profile'
}>
This is when the 'list_user_openids()' form is submitted...
On Mar 29, 2:54 pm, Will Stevens wrote:
> in the initial post, i change my app name to init and controller to
> default cause that is what you would be expect
.
On Mar 29, 2:47 pm, Will Stevens wrote:
> I have continued debugging, so I figured I would add some more
> details.
>
> In the controller here...
> if 'janrain_nonce' in request.vars:
> auth.settings.login_form = openid_login_form
> return dict(form=aut
e': 'AOQobUfNex0ZNZ...etc...V8nfOdio9KotL-
XnWCGoWB1b9IwN',
'openid.identity': 'https://profiles.google.com/williamstevens'
}>
Does anyone see anything in this that seems wrong???
Thanks,
Will
On Mar 29, 1:21 pm, Will Stevens wrote:
> I am tryin
I am trying to get both the basic auth and open id working together on
GAE. I have managed to get it working on the web2py.py server, but I
still have some minor issues with GAE. It has taken me about 2 days
to get to this point, and I am SOO close to having a perfectly working
setup.
My configu
Alright, I will set something up for sharing code with you guys...
Thanks...
On Sat, Mar 26, 2011 at 1:35 PM, Arun K.Rajeevan wrote:
> Yes and no.
> You can post the code there, if that's fine.
>
> Yes, you can't upload a plugin as a zip, w2p or anything such.
> It'll be a good idea to upload th
>From what I can tell there is no way for me to upload the plugin there
either.
Am I just missing something?
Will
On Fri, Mar 25, 2011 at 4:11 PM, Arun K.Rajeevan wrote:
> http://www.web2pyslices.com/main/default/index post it there.
> for a plugin that's the better place.
>
I have a plugin that I wrote that I thought other people may
appreciate.
How do I make it accessible to people? When I go to
http://www.web2py.com/appliances
and login, I cannot find how I add my plugin.
Thanks,
Will
you installing it as an
> application from the /site page? That would be wrong.
>
> On Nov 19, 3:10 pm, Will Stevens wrote:
>
>
>
>
>
>
>
> > not initially when I download and unzip the source code. however as
> > soon as I run the command 'python web
Are there any suggestions to get this working?
Thanks,
Will
On Nov 19, 4:10 pm, Will Stevens wrote:
> not initially when I download and unzip the source code. however as
> soon as I run the command 'python web2py.py', the NEWINSTALL file goes
> away and the folder web2
nks,
Will
On Nov 19, 3:42 pm, mdipierro wrote:
> Is there a folder web2py/deposit?
>
> On Nov 19, 2:28 pm, Will Stevens wrote:
>
>
>
>
>
>
>
> > I have tried both version 1.89.4 and the nightly build. I have tried
> > the Mac and Source Code vers
version exactely do you have? Are you running with apache
> +mod_wsgi?
>
> Massimo
>
> On Nov 19, 11:45 am, Will Stevens wrote:
>
>
>
>
>
>
>
> > I tried out web2py a while ago and had no issues with it at all.
>
> > I just came back to check it out
I tried out web2py a while ago and had no issues with it at all.
I just came back to check it out again and get a feel for all of the
new features and I am having issues.
I have tried both the Current and Nightly Builds of both the Mac and
Source Code options here: http://web2py.com/examples/def
22 matches
Mail list logo