如何使用Facebook Connect处理封闭式邀请计划?
我有一个使用 Facebook Connect 的 Web 应用程序(内置于 Ruby on Rails 2.3.5 和 Facebooker 插件)作为唯一的身份验证方法(目前)。我还使用 与 RailsCasts 中描述的类似的测试版邀请系统。
我不希望 FB Connect 按钮始终可见,因为这可能会让没有测试版邀请的用户登录应用程序,并最终陷入“地狱状态”,即他们已登录但没有完全访问权限。
但如果我隐藏 FB Connect 按钮,则意味着某些拥有有效邀请的用户无法重新登录(当他们的会话超时时)。
这里使用的最佳设计方法是什么?
I have a web application that uses Facebook Connect (built in Ruby on Rails 2.3.5 and the Facebooker plug-in) as the only authentication method (for now). I am also using a beta invitation system similar to the one described in RailsCasts.
I don't want the FB Connect button to be always visible, since that can let users without a beta invite to login to the application and end up in a "limbo state" where they are logged in but don't have full access.
But if I hide the FB Connect button, that means that some users with a valid invitation can't log back in (when their session times out).
What is the best design approach to use here?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
当你收到 Facebook 回调时,我会检查一下,上面写着“嘿,这个人不在测试名单上,所以不要注册帐户”
I would do a check when you get your facebook callback that would say "hey, this person isn't on the beta list, so don't make an account"