Comments (2)
from go-gin-api.
咱们不是有 swagger 接口文档嘛,如果接口开启了签名验证,在 swagger 接口文档中请求接口时,会提示 “签名错误”,为了解决这个问题,增加了一个接口用于生成某个请求的签名。
不过后来调试起来太麻烦... 我就调整为测试环境不进行签名验证了。
另外,这个接口是帮助生成签名的,如果是随意生成的签名也是无效的,请求你的程序也无法验证通过,如果有这个顾虑,可以删掉这个路由。
当然如果“有心人”想破解你的签名验证规则,通过其他方式也可以的,在这我就不说了...
就算是签名验证被破解了,那也无妨,因为一些接口咱们还是需要登录验证的。
from go-gin-api.
Related Issues (20)
- gprc支持吗?
- Mac 后台使用gorm 生成数据表 CURD
- 请教关于StdContext的一个疑问
- 你好,貌似代码生成器用不了了。也可能是我环境的问题,麻烦帮忙解答一下
- pageSize 未做最大值限制
- Windows Server 2022设置时区错误 unknown time zone Asia/Shanghai HOT 1
- viper监听配置文件修改的时候,变量读和写,在不同的线程,这里是否要加锁
- cmd上为什么找不到匹配的-env参数
- 生成控制器报错:panic: runtime error: invalid memory address or nil pointer dereference
- 文档是否提供其他访问方法
- 请问redis 集群的方式链接,需要如何改造成自适配?
- 目前好像还不支持http和websocket的反向代理
- 懂得可以自己优化下,push上来么,为什么每次只看到伸手要?
- 初始化数据表报错啦,MySQL版本回到5.5还是不行
- 生成控制器方法报错 环境win10 gobanb1.20
- go build 的二进制包无法脱离项目的目录运行 HOT 3
- 错误码:10101 错误信息:内部服务器错误 HOT 1
- API报错自定义errorMessage不呈现
- 你好,此项目go版本能升级 1.20吗?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from go-gin-api.