Feature: Better correlation between a custom action and Auth0 log for external systems
Description:
Need a value that is passed to the custom action that can be used to correlate to a auth0 log. In particular to a s/ssa log as these custom actions run on a Post Login trigger.
Use-case:
I have a Post Login custom action that calls out to an API. There is some logging that occurs within the API. I would like to be able to correlate those custom logs back to the Auth0 s/ssa logs, but there I haven’t found anything on the event object in the custom action that correlates to the log. Currently I’m using the session id which shows up in both, but I would prefer a more transactional granularity.
Ideally there would be a value in the custom action event, that also shows up in the Auth0 log. That way, I could correlate my custom logging back to the Auth0 log. Currently, the event object does have a transaction id that seems to be populated, but it doesn’t show up on the Auth0 log. Also, the log has an action.executions array. Assuming this is somehow tied to the custom actions, it could be used if it were passed to the actions at runtime.
This would help tie together Auth0 logs I’m shipping via logstreams with custom authorization event data that happens via a custom action.