小编ble*_*ter的帖子

无法在POSTMan上获取Google oAuth 2令牌

好吧,由于其他问题(已解决)仍未解决,我打算使用POSTMan对客户端库执行的每个步骤进行试验和错误.

所以我再次阅读了Google OAuth2 的基本步骤,在Api Manager中创建了另一个OAuth 2 ID >在Dev Console中创建了凭据,ID类型是Web应用程序,并将它们填充到POSTMan中:

  1. POSTMan中的新选项卡,然后单击授权标签.
  2. 选择类型为OAuth 2.0,然后选择"将令牌添加到网址"
  3. 身份验证网址:https://accounts.google.com/o/oauth2/v2/auth
  4. 访问令牌网址:https://www.googleapis.com/oauth2/v4/token
  5. 客户ID:[我刚刚收到的客户ID]
  6. 客户秘密:[我刚收到的客户机密]
  7. 范围:[空]
  8. 授权类型:授权码
  9. 本地请求访问令牌:已选中
  10. 点击"请求令牌"
  11. POSTMan回答我:"无法完成OAuth2.0登录"

我错过了什么吗?

(可以在此处找到Google重定向URI )

(API范围可以在这里找到)

google-api postman google-oauth2

9
推荐指数
1
解决办法
1万
查看次数

ld:警告:section __DATA/__ objc_imageinfo__DATA具有意外的大尺寸

有谁知道这个警告意味着什么?接下来是错误:

Command /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/llvm-gcc-4.2 failed with exit code 1

这是iPad的Xcode项目.我只为编译模拟器而不是设备编译时才看到这个.我已将静态库(*.a)链接到此项目,这是我认为失败的地方.此外,它曾经在模拟器上运行没有问题,我不知道是什么改变.

所有编译器输出:

Ld /Users/cduckering/Library/Developer/Xcode/DerivedData/IQ-bldfqilntfqfrccozykbqulagovx/Build/Products/Debug-iphonesimulator/IQ.app/IQ normal i386
    cd /Users/cduckering/Desktop/LitePoint/Apps/App/IQ
    setenv MACOSX_DEPLOYMENT_TARGET 10.6
    setenv PATH "/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
    /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/llvm-gcc-4.2 -arch i386 -isysroot /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk -L/Users/cduckering/Library/Developer/Xcode/DerivedData/IQ-bldfqilntfqfrccozykbqulagovx/Build/Products/Debug-iphonesimulator -F/Users/cduckering/Library/Developer/Xcode/DerivedData/IQ-bldfqilntfqfrccozykbqulagovx/Build/Products/Debug-iphonesimulator -filelist /Users/cduckering/Library/Developer/Xcode/DerivedData/IQ-bldfqilntfqfrccozykbqulagovx/Build/Intermediates/IQ.build/Debug-iphonesimulator/IQ.build/Objects-normal/i386/IQ.LinkFileList -mmacosx-version-min=10.6 -dead_strip -ObjC -all_load -fprofile-use -Xlinker -objc_abi_version -Xlinker 2 -lCorePlot-CocoaTouch -weak_framework QuickLook -weak_framework MessageUI -framework QuartzCore -framework UIKit -framework Foundation -framework CoreGraphics -Xlinker -object_path_lto -Xlinker /Users/cduckering/Library/Developer/Xcode/DerivedData/IQ-bldfqilntfqfrccozykbqulagovx/Build/Intermediates/IQ.build/Debug-iphonesimulator/IQ.build/Objects-normal/i386/IQ.lto_temporary.o -o /Users/cduckering/Library/Developer/Xcode/DerivedData/IQ-bldfqilntfqfrccozykbqulagovx/Build/Products/Debug-iphonesimulator/IQ.app/IQ

ld: warning: section __DATA/__objc_imageinfo__DATA has unexpectedly large size 368 in /Users/cduckering/Library/Developer/Xcode/DerivedData/IQ-bldfqilntfqfrccozykbqulagovx/Build/Intermediates/IQ.build/Debug-iphonesimulator/IQ.build/Objects-normal/i386/IQ.lto_temporary.o
Assertion failed: (_mode == modeFinalAddress), function finalAddress, file /SourceCache/ld64/ld64-123.2/src/ld/ld.hpp, line …
Run Code Online (Sandbox Code Playgroud)

xcode llvm static-libraries ipad ios

6
推荐指数
1
解决办法
1403
查看次数

Android是否支持setjmp/longjmp,access,chdir,getcwd?

我对Android开发很陌生,我想知道Android是否支持C中的上述功能.

提前致谢.

android c-libraries android-ndk

1
推荐指数
1
解决办法
2423
查看次数

如何在香草js中使用$ .extend?

我已经使用jQuery很久了,所以在编写代码时,Vanilla JS我有点想知道我们如何才能使用类似的东西$。在香草JS中扩展。

javascript jquery

1
推荐指数
1
解决办法
2170
查看次数