-
-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Message: The Signature you specified is invalid. #2
Comments
我这边测试了一下,没问题。麻烦提供可以复现问题的最简代码。 |
使用的是您的auth.go 小程序测试返回403 官方wx_sdk生成的authorization 是ok的 对比生成的authorization只有q-signature不同,是不是算法实现上有问题 |
小程序部分逻辑我是参照 https://github.com/piscium2010/cos-wx-upload-file |
qcloud 出的 demo 有这个: |
官方只有js和php的鉴权服务 |
@nEdAy 你可以用你的 bucket、secret_id、secret_key 测试一下上传功能:
我刚测试了一下没发现问题:
初步判断可能是你的 |
SignatureDoesNotMatch
The Signature you specified is invalid.The text was updated successfully, but these errors were encountered: