Gigya 注销问题
我正在实施 gigya 来授权来自 facebook、twitter、linkedin 和 gmail 的用户。一切都很顺利,因为我只需要很少的信息。我正在使用社交注销来注销用户,但它无法按预期工作,它会注销托管站点,但不会注销服务提供商。
是否有任何我可能忽略的选项可以使用户从服务提供商处注销?我使用 Facebook、Twitter、linkedin 和 google。
我很感激任何帮助。
谢谢,
尼克
I am implementing gigya to authorise users from facebook, twitter, linkedin and gmail. Everthing works great as I need very little information. I am using socialize logout to logout users, but It does not work as desired, It logs out of the hosted site but not the service provider.
Is there any option that I might have overlooked that logs out users from the service providers? I using facebook, twitter, linkedin and google.
I appreciate any help.
Thanks,
Nick
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
Nick,
您可以通过配置域别名 (CNAME) 为 Facebook 执行此操作:
http://wiki.gigya。 com/035_Socialize_Setup/020_Facebook_Settings
这仅适用于 Facebook。对于其他服务提供商(twitter、google 等),用户将保持登录状态。
我怀疑随着这个问题受到更多关注,该功能将会发展。目前,也许您的站点注销过程应该提醒用户他们仍然登录到 (xyz) 提供商。
Nick,
You can do this for Facebook by configuring a domain alias (CNAME):
http://wiki.gigya.com/035_Socialize_Setup/020_Facebook_Settings
This only applies to Facebook. For other service providers (twitter, google, etc), users will remain logged in.
I suspect the functionality will evolve as this issue receives more attention. For now, perhaps your site logout process should remind users that they're still logged in to (xyz) provider.
答案是正确的,所以我的评论是对他的补充。
您看到的行为是正确的。 Gigya 本质上是用户连接的代理,因此代表用户连接网站的社交网络会话。然而,与社交网络提供商的会话也是不同的,因此 Gigya 并不认为它拥有用户的绝对社交联系。作为最佳实践,Gigya 建议您的站点/应用程序提醒用户从他们连接的每个网络注销。
尽管 facebook 提供了一种让用户从 facebook 注销的机制(如前面的答案中所述),但其他社交网络连接应由用户终止。这对于公共/共享计算机尤其重要。为了提供额外的完整性,Gigya 还为连接/登录提供了一个名为“sessionExpiration”的设置,用于确定会话的寿命。
The answer is correct, so my comments are in addition to his.
The behavior you see is correct. Gigya is essentially a proxy for user connectivity and, therefore, represents a session to the social network for the site through which the user connected. However, the session with the social network provider is distinct as well, so Gigya does not presume that it owns the user's absolute social connection. As a best practice, Gigya recommends that your site/application alert the user to sign out from each network to which they are connected.
Although facebook provides a mechanism for logging the user out from facebook (as described in the prior answer), other social network connections should be terminated by the user. This is especially important for public/shared computers. To provide additional integrity Gigya also provides a setting called 'sessionExpiration' for connect/login that determines the longevity of the session.