Auth0 Home Blog Docs

Getting request headers when using custom database scripts

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

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?) I would recommend you to leave your feedback with the use case for requiring such information through (auth0.com/feedback) as that will ensure it’s properly tracked by the product team in an automatic way.