admin管理员组文章数量:1305294
I have a nodejs application using the v1/sdk/authenitcate IDCS api to authenticate a user. This call is being invoked in a node js server side function via axios post call. The client ip address being logged in idcs is the server's ip and not the client's real ip. Tried passing the x-forwarded-for , x-real-Ip to the POST request.None of them worked. How can I pass the client's actual ip address to the IDCS call so that the logs display the client ip instead of the server ip.
Below is the headers object being passed to the v1/sdk/authenticate api
headers : {
"Content-Type":'application/json',
"Authorization": 'Bearer '+token,
"X-Forwarded-For": ClientIp,
"X-Real-Ip": ClientIp
}
How can I capture the client's real ip in the IDCS logs ?
}
本文标签: authenticationoracle IDCS sdkauthenticate api client ip addressStack Overflow
版权声明:本文标题:authentication - oracle IDCS sdkauthenticate api client ip address - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1741793885a2397820.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论