有关oauth api的问题 - 联系电子邮件和多个域 [英] Questions about the oauth api - contact emails and multiple domains

查看:74
本文介绍了有关oauth api的问题 - 联系电子邮件和多个域的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有过尝试处理oauth联系人api的不幸经历,以及试图处理这个问题的支持。我无法想象任何更痛苦的事情。

I have had the unfortunate experience of trying to deal with the oauth contacts api, as well as trying to deal with support on the issue. I couldn't have imagined anything more painful.

我会尽量使我的问题具体:

I will try to make my questions as specific as possible:

1。 oauth api似乎有一个无证的功能,可以让你b $ b 获取联系电子邮件地址与请求范围 wl.contacts_email s 即可。请注意,
没有此未记录的功能 e ,您只能访问联系人电子邮件中非常无用的sha-256哈希值。这个神秘的请求范围在我的测试应用程序中工作,LinkedIn也在
中使用此请求范围他们的"查找其他联系人" hotmail功能。 此范围是否有效?我只是在本地测试过。它会在制作中发挥作用吗?

1. It seems like there is an undocumented feature of the oauth api that lets you get contact email addresses with the request scope wl.contacts_emails. Note that without this undocumented feature, you are only given access to the hilariously useless sha-256 hash of the contact's email. This mystery request scope is working in my test app and LinkedIn also uses this request scope in their "find additional contacts" hotmail feature. Is this scope valid? I've only tested locally. Will it work in production?

哇这是我用过的最糟糕的富文本编辑器。

Wow this is the worst rich text editor I have ever used.

2。我可以为我的重定向域 包含多个域,还是可以自动使用
?具体来说,如果我的重定向域是
http://www.example.com 会像 http://fail.example.com 这样的次级域名工作吗?如果你的"域名",example.com会工作吗?是www.example.com?

2. Can I include multiple domains for my redirect domain or will they work automatically? Specifically if my redirect domain is http://www.example.com will subomdains like http://fail.example.com work? Will example.com work if your "domain" is www.example.com?

我的意思是,我明白设计这个的人是个完全白痴,所以我真的不认为它可以在子域上工作,但是就像这整个糟糕的系统一样,它没有记录,说明也没有意义:

I mean, I understand that whoever designed this is a complete idiot, so I really don't think it will work on subdomains, but like this whole awful system it's not documented nor do the instructions make sense:

" Live Connect在OAuth 2.0重定向URI中强制执行此域,用于交换令牌,数据和与您的应用程序的消息您只需要
输入域名,例如http://www.contoso.com."

什么???我不知道  http ://www.contoso.com
DOMAIN 。我的意思是,如果我完全知道任何有用的东西,我会认为
http 是一个协议, www SUBDOMAIN 即可。但是如果你试图输入"contoso.com"它愚蠢地告诉你: 

必须输入以http://或https://

What??? I didn't know http://www.contoso.com is a DOMAIN. I mean, if I knew absolutely the slightest anything about how anything works, I would have thought that http was a PROTOCOL and www was a SUBDOMAIN. But if you try to put in "contoso.com" it tells you stupidly: You must enter a valid domain that begins with http:// or https://

现在我的文字是橙色。

推荐答案

是的......很好!

Yeah... Nice!

某些API方法的文档中http方法不匹配怎么办? (记录:POST,意思是:GET)?现在是时候引入新的http方法了:LOL和ROFL ......

What about http methods mismatches in documentation of some API methods? (documented: POST, means: GET)? It is time to introduce new http methods: LOL and ROFL...


这篇关于有关oauth api的问题 - 联系电子邮件和多个域的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆