[web2py] Re: Janrain recently broken (and how to fix)

2017-11-21 Thread Massimo Di Pierro
thanks Anthony On Wednesday, 15 November 2017 14:00:12 UTC-6, Anthony wrote: > > If anyone is using web2py's Janrain integration, it looks like Janrain > recently made a change that breaks the web2py code. I submitted a pull > request to fix it, but in the meantime, a temporary workaround is to

Re: [web2py] Re: JANRAIN

2016-06-14 Thread Laurent Chambon
in fact i have installed conf2py: the model : if settings.rpx_domain: from gluon.contrib.login_methods.rpx_account import RPXAccount auth.settings.actions_disabled=['register','change_password', 'request_reset_password'] auth.settings.login_form =

[web2py] Re: JANRAIN

2016-06-13 Thread Anthony
It works for me, though I'm using an older version of web2py's Janrain adapter (not sure if that matters). How have you configured your app on Janrain? Anthony On Monday, June 13, 2016 at 12:14:57 PM UTC-4, LC LC wrote: > > Hi, > janrain works for different providers but il does not run for

[web2py] Re: Janrain: NEW OpenID connect

2015-04-30 Thread Rene Dohmen
I have the same problem: Gmail user can't login anymore. Google Apps for business user can login; but they get a popup telling them it will expire 20 april 2015. R On Thursday, April 23, 2015 at 6:00:34 PM UTC+2, Stefan van den Eertwegh wrote: Dear fellow web2py users, I understand that

[web2py] Re: Janrain: NEW OpenID connect

2015-04-30 Thread Anthony
You have to log into your Janrain dashboard and do the following: 1. In the Providers box, click the Manage Providers icon. Select Google+ from the list on the right and go through the process of configuring it (you will have to take some steps on Google to complete the process). 2.

[web2py] Re: Janrain: NEW OpenID connect

2015-04-24 Thread Dmitry Ermolaev
I use only email.registration it simple - not logins not passwords! example: http://lite.cash/bets/man/greet def set_session(sess, man): sess.man_id = man.id sess.man_name = man.name # confirm - подтверждение по почте получено def greet_conf(): key = request.args(0) if not key:

[web2py] Re: janrain implementation

2014-10-31 Thread marylou
According to janrain, the web2py built in code for using janrain uses a deprecated method of displaying their login widget. Has anyone been able to recently integrate janrain in a web2py application? If so, how. Thanks -- Resources: - http://web2py.com - http://web2py.com/book

[web2py] Re: janrain implementation

2014-10-31 Thread Massimo Di Pierro
In gluon/contrib/login_methods/ we have both janrain_account.py (new) and rpx_account.py (old). New apps should old janrain_ccount. On Monday, 27 October 2014 14:02:26 UTC-5, mar...@hens-teeth.net wrote: According to janrain, the web2py built in code for using janrain uses a deprecated

[web2py] Re: janrain implementation

2014-10-22 Thread Massimo Di Pierro
You simply can't. The point of janrain is that you delegate authentication to them so they deal with credentials, not you. On Monday, 20 October 2014 13:02:16 UTC-5, mar...@hens-teeth.net wrote: Let me start by saying that I'm a total novice when it comes to both web2py and janrain. I've

Re: [web2py] Re: janrain and web2py

2014-03-28 Thread Quint
But, like already mentioned, there _is_ an alternative: https://github.com/omab/python-social-auth -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You

Re: [web2py] Re: janrain and web2py

2014-03-27 Thread Martin Weissenboeck
I agree. I have I website with about 6000 users, but they have to login only once per month. The idea is very good, but Janrain is too expensive for me. 2014-03-27 10:22 GMT+01:00 Dragan Matic perakojotgen...@gmail.com: It still works with Google in version 2.8.x. But as someone mentioned,

Re: [web2py] Re: janrain and web2py

2014-03-26 Thread Niphlod
it's been sitting on issues and roadmap for quite a while On Tuesday, March 25, 2014 10:27:19 PM UTC+1, Michele Comitini wrote: Quint has done all the hard work for web2py: https://code.google.com/p/w2p-social-auth/ 2014-03-25 22:24 GMT+01:00 Michele Comitini

[web2py] Re: janrain and web2py

2014-03-25 Thread Anthony
Janrain + Google seems to work fine on web2py 2.5.1. I am having a different problem with Janrain, though. In IE 10 and 11 on Windows 8.1, login doesn't work with any provider. When the pop-up window goes to a URL like this:

Re: [web2py] Re: janrain and web2py

2014-03-25 Thread Michele Comitini
I think we should switch to this: https://github.com/omab/python-social-auth 2014-03-25 21:37 GMT+01:00 Anthony abasta...@gmail.com: Janrain + Google seems to work fine on web2py 2.5.1. I am having a different problem with Janrain, though. In IE 10 and 11 on Windows 8.1, login doesn't work

Re: [web2py] Re: janrain and web2py

2014-03-25 Thread Michele Comitini
Quint has done all the hard work for web2py: https://code.google.com/p/w2p-social-auth/ 2014-03-25 22:24 GMT+01:00 Michele Comitini michele.comit...@gmail.com: I think we should switch to this: https://github.com/omab/python-social-auth 2014-03-25 21:37 GMT+01:00 Anthony

[web2py] Re: janrain and web2py

2014-03-25 Thread Joe Barnhart
To be honest, the price model of Janrain is way too prohibitive. If my site gets popular I'll be spending hundreds on the Janrain service -- it would become my most expensive service besides merchant services (a.k.a. credit card fees)! The free version is limited to 2500 users, which I will

[web2py] Re: janrain login not working anymore?

2013-12-20 Thread Peter Govers
It seems the Jainrain Legacy Sign-in Widget has hit its end-of-life and has been replaced by Social Sign-in Widget. I've changed RPXAccount login_form (gluon/contrib/login_methods/rpc_account.py) to migrate Janrain's Legacy Sign-in Widget to the current Social Sign-in Widget. For more info:

[web2py] Re: janrain login not working anymore?

2013-12-20 Thread Peter Govers
I'm sorry, made a typo in patch above. Also changed code to be backwards compatible with older web2py versions. Updated PR and added new patch. Op vrijdag 20 december 2013 20:58:11 UTC+1 schreef Peter Govers: It seems the Jainrain Legacy Sign-in Widget has hit its end-of-life and has been

Re: [web2py] Re: Janrain/RPX widget migration

2013-09-16 Thread molhokwai
Hi Massimo, Since the upgrade will most likely fix the issue I'm having (which can't be fixed for the legacy widget): can you give me pointers so I can implement it locally and if all is well, send the code to you? Thanks... On Sat, Aug 31, 2013 at 9:14 AM, molhokwai molhok...@gmail.com

Re: [web2py] Re: Janrain/RPX widget migration

2013-08-31 Thread molhokwai
Done. Thanks. On Sat, Aug 31, 2013 at 12:29 AM, Massimo Di Pierro massimo.dipie...@gmail.com wrote: Please open a ticket. We will do that asap. On Friday, 30 August 2013 12:54:06 UTC-5, molhokwai wrote: Hi, The janrain/rpx widget is no longer supported since July (

[web2py] Re: Janrain/RPX widget migration

2013-08-30 Thread Massimo Di Pierro
Please open a ticket. We will do that asap. On Friday, 30 August 2013 12:54:06 UTC-5, molhokwai wrote: Hi, The janrain/rpx widget is no longer supported since July ( http://developers.janrain.com/documentation/widgets/legacy-sign-in-widget/) and I am wondering if there are plans to upgrade

[web2py] Re: janrain logs in but stuck on login screen

2012-12-07 Thread Jeff Kusi
Could somebody address this issue please? Mine is also doing the same thing. here's how my config looks: --- from gluon.tools import Auth, Crud, Service, PluginManager, prettydate auth = Auth(db) from gluon.contrib.login_methods.rpx_account import RPXAccount

[web2py] Re: janrain logs in but stuck on login screen

2012-12-07 Thread Massimo Di Pierro
I think the problem is that you need this: from gluon.contrib.login_methods.rpx_account import RPXAccount auth.settings.actions_disabled=['register','change_password','request_reset_password'] auth.settings.login_form = RPXAccount(request, api_key='...',

[web2py] Re: Janrain Alternative: SimpleAuth (And its totally free)

2012-11-19 Thread Taryn Cooksey
Looks pretty good, but using an opensource means maintenance and upgrading issue, so I'd rather prefer a SaaS solution. After doing little research, I found a good alternative LoginRadius (www.loginradius.com). Did anyone try it? Would love to hear some feedback. --

Re: [web2py] Re: Janrain fails (yes I did RTFM!) — too many values to unpack

2012-08-12 Thread Alec Taylor
Thanks, got it to work (well; beat that error anyway). Forgot to run a git add on the relevant files. On Sun, Aug 12, 2012 at 4:27 AM, Anthony abasta...@gmail.com wrote: According to the ticket, the problem is with your janrain.key file. The code does a split on : and expects two values -- if

[web2py] Re: Janrain redirects successfully, but I'm not logged in?

2012-08-12 Thread Cliff Kachinske
Google Chrome SSL error. Server identified itself as *.rhcloud.com not giantpicnic.com Needless to say I did not go there. On Sunday, August 12, 2012 2:53:38 PM UTC-4, Alec Taylor wrote: After I click the login with facebook with Janrain I am redirected to my page. Here is the response as

[web2py] Re: Janrain fails (yes I did RTFM!) — too many values to unpack

2012-08-11 Thread Anthony
According to the ticket, the problem is with your janrain.key file. The code does a split on : and expects two values -- if it's complaining about too many values to unpack, you must have more than one colon in the string in that file. The file contents should look like: [domain]:[API key]

[web2py] Re: janrain dynamic hostname in url

2012-05-19 Thread Anthony
Try url = URL('default', 'user', args='login', host=True, scheme=True) That will construct a URL including the current host and the current scheme (i.e., http or https). More generally, the current host can be found in request.env.http_host, and the current scheme in

Re: [web2py] Re: janrain dynamic hostname in url

2012-05-19 Thread Jon Molesa
BOOM! Much thanks. I have changed it to read: auth.settings.login_form = RPXAccount(request, api_key='...', domain='...', url = URL('default', 'user', args='login', host=True, scheme=True) + /%s/default/user/login % request.application) and it's working! On Sat, May 19, 2012 at 2:23 PM, Anthony

Re: [web2py] Re: janrain dynamic hostname in url

2012-05-19 Thread Anthony
url = URL('default', 'user', args='login', host=True, scheme=True) + /%s/default/user/login % request.application) URL('default', 'user', args='login', host=True, scheme=True) alone will produce http://yourdomain.com/yourapp/default/user/login, so there should be no need to add

Re: [web2py] Re: janrain dynamic hostname in url

2012-05-19 Thread Jon Molesa
Thank you. On Sat, May 19, 2012 at 6:17 PM, Anthony abasta...@gmail.com wrote: url = URL('default', 'user', args='login', host=True, scheme=True) + /%s/default/user/login % request.application) URL('default', 'user', args='login', host=True, scheme=True) alone will produce

Re: [web2py] Re: Janrain Engage OR normal register/login

2011-12-30 Thread Thomas Dall'Agnese
Thanks Anthony. The books seems to be not up-to-date: TypeError: __init__() got multiple values for keyword argument 'signals' I will try the slice 124, but it looks old too. Best Regards, Thomas On Thu, Dec 29, 2011 at 11:53 PM, Anthony abasta...@gmail.com wrote: See Multiple login

Re: [web2py] Re: Janrain Engage OR normal register/login

2011-12-30 Thread Thomas Dall'Agnese
Another problem with the slices: 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 15. 16. Traceback (most recent call last): File /windows/Users/Thomas/Dropbox/appz/2011/dotcloud_web2py/gluon/restricted.py, line 204, in restricted exec ccode in environment File

Re: [web2py] Re: Janrain Engage OR normal register/login

2011-12-30 Thread Thomas Dall'Agnese
It works if we remove the first parameter (request) in the ExtendedLoginForm: auth.settings.login_form = ExtendedLoginForm(auth, other_form, signals=['token'])

[web2py] Re: Janrain Engage OR normal register/login

2011-12-29 Thread Anthony
See Multiple login forms at the end of this section: http://web2py.com/books/default/chapter/29/9#Other-login-methods-and-login-forms. There's also: http://www.web2pyslices.com/slices/take_slice/124 http://www.web2pyslices.com/slices/take_slice/28 Anthony On Thursday, December 29, 2011

[web2py] Re: Janrain auth not working

2011-12-23 Thread Chux
This seems even more significant than I realized .. It seems after getting in by manually editing the URL, after janrain auth, I am unable to use the admin application .. it now claims, admin interface is disabled because password file was not found. I have now disabled janrain by deleting

Re: [web2py] Re: Janrain auth not working

2011-12-23 Thread Marin Pranjić
Do you have parameters_81.py file in web2py folder? On Sat, Dec 24, 2011 at 5:01 AM, Chux carlz...@gmail.com wrote: This seems even more significant than I realized .. It seems after getting in by manually editing the URL, after janrain auth, I am unable to use the admin application .. it

[web2py] Re: Janrain/site login

2011-08-24 Thread Eric Scott
Thank you, Anthony. I've read the manual and looked for info before asking the question, but I obviously missed that. Thank you for pointing it out. Eric On Aug 22, 9:39 am, Anthony abasta...@gmail.com wrote: See the Multiple Login Forms section at the end of this

[web2py] Re: Janrain/site login

2011-08-22 Thread Anthony
See the Multiple Login Forms section at the end of this section: http://web2py.com/book/default/chapter/08#Other-Login-Methods-and-Login-Forms. There's also this: http://www.web2pyslices.com/slices/take_slice/124. Anthony On Monday, August 22, 2011 8:30:18 AM UTC-4, Eric Scott wrote: Is

[web2py] Re: Janrain login_next

2011-07-01 Thread Massimo Di Pierro
yes. 1) add a field 'completed_registration' to the auth_user table and default to False 2) then in a model if auth.user and not auth.user.completed_registration and not URL()==URL('default','user'): redirect('default','user/profile')) On Jul 1, 2011, at 8:32 AM, DanB wrote: fference

[web2py] Re: Janrain login_next

2011-07-01 Thread DanB
So, if I have this straight (sorry, very new to web2py, and python) to implement this in the Welcome App, I would add the following: To the db.py model (mostly uncommenting): from gluon.contrib.login_methods.rpx_account import RPXAccount auth.settings.actions_disabled = \

[web2py] Re: Janrain login_next

2011-06-24 Thread Massimo Di Pierro
auth.settings.login_next=URL(...) should work On Jun 24, 12:06 pm, Chris Baron topher.ba...@gmail.com wrote: Hi web2py users, I'm using Janrain for login.  What's the best way to have a proper redirect after login?  I would like to redirect to be the location visited before the login page.

[web2py] Re: Janrain Alternative: SimpleAuth (And its totally free)

2011-04-27 Thread stefaan
I just came across this site: simpleauth.com, its a Janrain alternative that allows for 3rd party authentication on websites, and the best part of it is that its totally free. Maybe I'm just being paranoid, but how do we know it's not just collecting people's passwords?

Re: [web2py] Re: Janrain Alternative: SimpleAuth (And its totally free)

2011-04-27 Thread Tom Atkins
I just emailed SImpleAuth support and got this reply back from Mike (which he agreed I could post here): - We completely understand the concerns. The founders (I'm one of them) are all developers and we built SimpleAuth because it's just what we needed as well. Every developer

[web2py] Re: Janrain Alternative: SimpleAuth (And its totally free)

2011-04-27 Thread Massimo Di Pierro
If they have php examples, chances are it works like janrain. It should be possible to modify gluon/contrib/login_methods/rpx_account.py and just change the URLs and variable names in there. If you could start working on this it would be great. If you want me to take a look, it would save me

Re: [web2py] Re: Janrain Alternative: SimpleAuth (And its totally free)

2011-04-27 Thread Tom Atkins
Their documentation is available after signing up (very easy as you can use your Google (etc) account). There's a very clear step by step PHP example inside. Sorry I don't have time to look into this for web2py just now. On 27 April 2011 15:47, Massimo Di Pierro massimo.dipie...@gmail.comwrote:

[web2py] Re: Janrain Alternative: SimpleAuth (And its totally free)

2011-04-27 Thread Nite
The Quickstart guide is accessible without logging in. https://www.simpleauth.com/docs/quickstart I would give it a shot, but this is beyond me... On Apr 27, 10:52 am, Tom Atkins minkto...@gmail.com wrote: Their documentation is available after signing up (very easy as you can use your Google

[web2py] Re: Janrain Alternative: SimpleAuth (And its totally free)

2011-04-27 Thread Stefaan Himpe
villas wrote: Your password should only be entered into the authentication site, e.g. if you log in via Google you should only enter your password into a browser window which shows a Google url. Thanks for clearing that up. My n00bieness to web stuff obviously shines through :)

[web2py] Re: Janrain Alternative: SimpleAuth (And its totally free)

2011-04-27 Thread villas
Thanks for clearing that up. My n00bieness to web stuff obviously shines through :) Hi Stefaan, No problem, the web brings many security concerns and you are right to ask questions. D

[web2py] Re: Janrain Alternative: SimpleAuth (And its totally free)

2011-04-26 Thread Massimo Di Pierro
can you write an adapter? I will include it. On Apr 26, 4:12 pm, Pystar aitoehi...@gmail.com wrote: I just came across this site: simpleauth.com, its a Janrain alternative that allows for 3rd party authentication on websites, and the best part of it is that its totally free. P.S: I am in no

[web2py] Re: Janrain rpx and jquery mobile multi page, single html file

2011-04-10 Thread Massimo Di Pierro
No idea but let us know if you find a solution. On Apr 9, 10:55 am, ChrisM cjjmur...@gmail.com wrote: Hi i'm trying to include janrain into a jquery mobile enabled site, using web2py  running on app engine. I am using single html file with multple jquery mobile pages which Are divelements

[web2py] Re: Janrain Basic limited to 2500 users

2011-01-18 Thread Plumo
I find that after a webpage loads the Janrain login takes up to 5 seconds to display, which is confusing. That is a deal breaker for me.

[web2py] Re: Janrain Database Errors

2010-12-09 Thread RyaneD
Found the solution. Apparently it is extremely important for the default auth() login page that the redirect go to said app/default/login page. I had sent it somewhere else and this seems to be the problem. On Dec 10, 12:23 am, RyaneD scadzomb...@gmail.com wrote: Hey everyone, Thanks for the

[web2py] Re: janrain login widget error: blocked for insecure content.

2010-09-14 Thread Albert Abril
Fixed. In domain: domain='BLABLA.rpxnow.com http://blabla.rpxnow.com/' You should write only the BLABLA, so... domain='BLABLA' Regards On Tue, Sep 14, 2010 at 11:40 PM, Albert Abril albert.ab...@gmail.comwrote: For curiosity, I tried the janrain login plugin. I configured it, and in the