# Getting request headers when using custom database scripts

**URL:** <https://community.auth0.com/t/getting-request-headers-when-using-custom-database-scripts/36320>\
**Category:** Get Help\
**Tags:** custom-database\
**Created:** [January 15, 2020, 12:07am UTC](https://community.auth0.com/t/getting-request-headers-when-using-custom-database-scripts/36320 "2020-01-15T00:07:34Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![andrewj](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/andrewj/32/8764_2.png) [@andrewj](https://community.auth0.com/u/andrewj)\
**Post date:** [January 15, 2020, 12:07am UTC](https://community.auth0.com/t/getting-request-headers-when-using-custom-database-scripts/36320/1 "2020-01-15T00:07:37Z")

</div>

Hi, Am I am able to get at and/or passthrough headers from the login callers request? I would like the User-Agent string from the origin request to determine which application the login has been initiated by. In this case I want to detect logins from the mobile application and do some extra work based on this.

Cheers  
Andrew

---

<div class="post-metadata">

**Author:** ![jmangelo](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/jmangelo/32/7923_2.png) [@jmangelo](https://community.auth0.com/u/jmangelo)\
**Post date:** [January 15, 2020, 3:22pm UTC](https://community.auth0.com/t/getting-request-headers-when-using-custom-database-scripts/36320/2 "2020-01-15T15:22:33Z")

</div>

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](http://community.auth0.com/t/is-there-a-way-to-know-which-action-triggered-the-get-user-action-script/36335/2)) 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.](http://auth0.com/feedback)) as that will ensure it’s properly tracked by the product team in an automatic way.
