10000 订阅后,如何获取X-Rgw-Authorization的token呢? · Issue #2 · tmzk1005/reactor-gateway · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

订阅后,如何获取X-Rgw-Authorization的token呢? #2

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

Open
coincRen opened this issue Mar 21, 2024 · 1 comment
Open

订阅后,如何获取X-Rgw-Authorization的token呢? #2

coincRen opened this issue Mar 21, 2024 · 1 comment
< 9672 /div>
Labels
question Further information is requested

Comments

@coincRen
Copy link
Contributor

我按照说明启动了项目,请求接口时返回:APP认证失败,无认证头X-Rgw-Authorization,我没有在readme中看到如何获取X-Rgw-Authorization的内容,您能补充这部分内容吗?

@tmzk1005 tmzk1005 added the question Further information is requested label Mar 21, 2024
@tmzk1005
Copy link
Owner

X-Rgw-Authorization 需要用gateway-sdk中提供的API来计算, 但是这个jar没有发布到maven仓库, 所以暂时只能自己install到本地maven仓库后才能使用.

SDK API的使用可以参考下这段代码 gateway/src/test/java/zk/rgw/gateway/app/AppAuthFilterTest.java

文档等我不忙的时候补充下.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants
0