我想尝试GoogleAdwords请求:
然后我收到错误消息错误400:redirect_uri_mismatch
我该怎么做才能防止出现此错误消息?
请尝试按照How do I authorise an app (web or installed) without user intervention?中的步骤操作
特别是,步骤3和4.他们键入的应该是web应用程序,您需要将oauth2 playground URL添加为有效的重定向URL。
在您的OAuth2服务器中,您应该设置redirect_uri
是https://developers.google.com/oauthplayground
。因为您的OAuth2服务器必须在执行进一步操作之前检查http请求中的redirect_uri
和之前指定的qazxswpo。