I don't want to have to approve all registrations, but I want to be able to control when people can register (basically just because you have a gmail account doesn't mean you can sign in and use the service). The web app i'm creating is being rolled out to specific people in a controlled manner so I need this capability. I was thinking about having some sort of "secret early access token" that if you know lets you register before it is completely open to all users. I liked having the social log in with Janrain, but having control over when people can register is more important. Also I do want to have people fill out some additional information after the initial Janrain log in.
On Wednesday, March 27, 2013 5:38:35 PM UTC-4, Anthony wrote: > > Are you saying you want to be able to approve the registrations of users > (so just logging in via Janrain isn't enough to allow access), or do you > simply want to require users to add to their profile when they first log in > with Janrain? > > On Wednesday, March 27, 2013 4:08:42 PM UTC-4, DeanK wrote: >> >> >> So I want to be able to use Janrain, but I also want to have people have >> to register. For my app initially i need to control when registration is >> open and when it is not, and currently using the examples i've seen, >> enabling Janrain makes anyone who can authenticate with one of the third >> party provides able to access the app and add an entry to auth_users. >> >> This is what did in db.py >> >> from gluon.contrib.login_methods.rpx_account import use_janrain >> >> auth.settings.actions_disabled=['change_password','request_reset_password'] >> use_janrain(auth, filename='private/janrain.key') >> >> Once this is done auth works as descrived above, but the register button >> disappears and /default/user/register/ throws a 404. >> >> Is there any way to still point to a registration page and make auth only >> allow users who already exist when logging in via Janrain? Ideally >> /register would work and essentially after getting a token from Janrain it >> would redirect to profile to add additional user info. >> >> >> Thanks, >> Dean >> > -- --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.