gpt4 book ai didi

wso2 - 防止 WSO2 AM 从请求中删除授权 token

转载 作者:行者123 更新时间:2023-12-04 16:46:38 25 4
gpt4 key购买 nike

根据文档

When you send an API request to the backend, you pass a token in the Authorization header of the request. The API Gateway uses this token to authorize access, and then drops it from the outgoing message. link



我想将此 token 传递给每个已发布 API 的后端。配置这种行为的正确位置是什么?

最佳答案

repository/conf/api-manager.xml 中取消以下配置的注释并设置 false .

<RemoveOAuthHeadersFromOutMessage>true</RemoveOAuthHeadersFromOutMessage>

关于wso2 - 防止 WSO2 AM 从请求中删除授权 token ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/48239861/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com