无法在Bing Ads API上获取OAuth授权令牌 [英] Cannot get OAuth authorization token on Bing Ads API

查看:117
本文介绍了无法在Bing Ads API上获取OAuth授权令牌的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经注册了一个应用程序并获取了我的app / cliend id,并将我的重定向URI设置为http://bigleap.weblauncherteam.com/bing/OAuth2Callback.php

I have registered an application and get my app/cliend id and set my redirect URI to http://bigleap.weblauncherteam.com/bing/OAuth2Callback.php

on  http://www.bigleap.weblauncherteam.com/bing/我的表格是  登录并授权该应用程序。但是,单击确定按钮时出错:我们无法
来完成您的请求,地址栏中的网址更改为:

on http://www.bigleap.weblauncherteam.com/bing/ I have a form to login and authorize the application. However, I get an error when clicking the OK button: we're unable to complete your request and the url in the address bar changes to:

https ?://login.live.com/err.srf LC = 1033#误差= INVALID_REQUEST&安培; ERROR_DESCRIPTION = +的提供+值+为+ +输入+参数+ 'REDIRECT_URI' 是+未+有效+的预期+。 +值是+的"https://login.live.com/oauth20_desktop.srf'+or+a+URL+which+matches+the+redirect+URI+registered+for+this+client+application.&状态= 242873230

https://login.live.com/err.srf?lc=1033#error=invalid_request&error_description=The+provided+value+for+the+input+parameter+'redirect_uri'+is+not+valid.+The+expected+value+is+'https://login.live.com/oauth20_desktop.srf'+or+a+URL+which+matches+the+redirect+URI+registered+for+this+client+application.&state=242873230

推荐答案

您好Sergiu。

Hi Sergiu.

刚刚确认您是否在注册期间添加了Web平台?要尝试的其他几个步骤: 

Just to confirm did you add the Web platform during registration? A couple of additional steps to try: 

1)将http://www.bigleap.weblauncherteam.com/bing/添加到重定向URI列表中。它不应该被要求,但它只是一个尝试作为解决方法的想法。

1) Add http://www.bigleap.weblauncherteam.com/bing/ to the list of redirect URIs. It shouldn't be required, but its just an idea to try as a workaround.

2)如果您在注册页面底部看到一个复选框,其中显示"Live SDK"支持",请确保已选中。 

2) If you see a check box at the bottom of the registration page that says "Live SDK support", please be sure that it is checked. 

否则我建议
联系支持
与您的客户ID。我们可能还需要您的注册页面的屏幕截图。

Otherwise I suggest contacting support with your Client ID. We might also need a screenshot of your registration page.

我希望这会有所帮助。


这篇关于无法在Bing Ads API上获取OAuth授权令牌的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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