Oauth:获取用户的权限,无需重定向到服务器

时间:2021-09-15 03:48:12

in my website, I want to add a "invite friend of my contacts book" functionnality.

在我的网站上,我想添加一个“我的通讯录邀请朋友”功能。

I would like that the user fills the loggin form in my website. Then the website contacts Google Mail, Yahoo Mail, Live Mail and retrieves the contact list.

我希望用户填写我网站上的登录表单。然后该网站联系Google Mail,Yahoo Mail,Live Mail并检索联系人列表。

In the Oauth protocole supported by Google and Yahoo, the user is redirected to a Google or Yahoo page (like Facebook) in order to permit the user to give permissions.

在谷歌和雅虎支持的Oauth protocole中,用户被重定向到谷歌或雅虎页面(如Facebook),以允许用户授予权限。

But I saw two websites which didn't any redirections to get the contacts book (LinkedIn for a Google mail account and Theauteurs with a live mail.)

但我看到两个网站没有任何重定向来获取联系人簿(LinkedIn的Google邮件帐户和Theauteurs的实时邮件。)

Do you know how I can get a contacts book without redirect the user to Google, Microsoft or Yahoo website.

您知道如何在不将用户重定向到Google,Microsoft或Yahoo网站的情况下获取通讯录。

3 个解决方案

#1


1  

Simple. Neither of them are using OAuth to access contact data. That means users don't get the benefits (such as not having to share passwords and easy revocation).

简单。他们都没有使用OAuth访问联系人数据。这意味着用户无法获得好处(例如不必共享密码和轻松撤销)。

#2


0  

The motivation behind OAuth is to avoid users to input their credentials of site A in site B (this would be you).

OAuth背后的动机是避免用户在站点B中输入站点A的凭据(这就是你)。

If you follow this path (and I believe you should not), you are not doing OAuth at all.

如果你遵循这条道路(我相信你不应该这样),你根本就不会做OAuth。

PS: Why Facebook doesn't use OAuth is something that puzzles me still...

PS:为什么Facebook不使用OAuth仍然让我感到困惑......

#3


0  

Facebook will be dropping Connect in favor of oAuth. Outlined here-> http://www.pcmag.com/article2/0,2817,2362920,00.asp

Facebook将放弃Connect以支持oAuth。在此概述 - > http://www.pcmag.com/article2/0,2817,2362920,00.asp

#1


1  

Simple. Neither of them are using OAuth to access contact data. That means users don't get the benefits (such as not having to share passwords and easy revocation).

简单。他们都没有使用OAuth访问联系人数据。这意味着用户无法获得好处(例如不必共享密码和轻松撤销)。

#2


0  

The motivation behind OAuth is to avoid users to input their credentials of site A in site B (this would be you).

OAuth背后的动机是避免用户在站点B中输入站点A的凭据(这就是你)。

If you follow this path (and I believe you should not), you are not doing OAuth at all.

如果你遵循这条道路(我相信你不应该这样),你根本就不会做OAuth。

PS: Why Facebook doesn't use OAuth is something that puzzles me still...

PS:为什么Facebook不使用OAuth仍然让我感到困惑......

#3


0  

Facebook will be dropping Connect in favor of oAuth. Outlined here-> http://www.pcmag.com/article2/0,2817,2362920,00.asp

Facebook将放弃Connect以支持oAuth。在此概述 - > http://www.pcmag.com/article2/0,2817,2362920,00.asp