What are the alternatives to request attributes for Node.js?
In the header they use a JSON Web Token, from which I could extract information after decoding it. Will this be possible with attributes?
Hi @Seba-Gadrid ,
It is possible to set request attributes using HTTP headers. here is information from the document.
Technology-independent sources, such as:
- HTTP POST parameters
- Client IP addresses
The value of the first matching header is reported. - HTTP request and response headers
- Web request URL or one of its constituents, like the path or a query parameter
In the last two cases, you can also choose the side of the web request on which to capture and store the attribute.
Hello @RohitBisht
The information I need comes in a bearer token, will it be possible to extract it from there?
Ideally we should be able to capture as request headers are supported. Best is to test it out.