Getting request headers when using custom database scripts

This is not possible and coincidentally this is in the same spirit of another recent post here in the community. As I mentioned in that other post (Is there a way to know which action triggered the Get User action script? - #2 by jmangelo) I would recommend you to leave your feedback with the use case for requiring such information through (Auth0: Secure access for everyone. But not just anyone.) as that will ensure it’s properly tracked by the product team in an automatic way.