My requirement is to read a custom HTTP header from the Token request (Or from the authorize) and implement a logic in action based on that custom HTTP header value. But it seems like there is no possibility of read any custom HTTP headers, Even the event object dose not contains anything related to headers[1].
Is there any possibility to read a custom HTTP header from Action? For an example i need to read X-CUSTOM-HEADER header value from the token request.
As well as set a custom header from action. One requirement of this is to set a custom HTTP header for logging purposes
Hi @rueben.tiow, It is only have information about the user agent (Eg. Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.5005.61 Safari/537.36\n)
What i’m sepecifically looking for is to define a custom header such as X-TRANSACTION-ID and log the value of that header in a custom action. Will it be possible?
As this topic is related to Actions and Rules & Hooks are being deprecated soon in favor of Actions, I’m excited to let you know about our next Ask me Anything session in the Forum on Thursday, January 18 with the Rules, Hooks and Actions team on Rules & Hooks and why Actions matter! Submit your questions in the thread above and our esteemed product experts will provide written answers on January 18. Find out more about Rules & Hooks and why Actions matter! Can’t wait to see you there!