Can I get the userAgent in the custom database login script?

Hi,
In the custom database script, can i get access to the user’s user agent?

I notice in rules, there is a context.userAgent but i don’t see this in the custom database script function.

As far as I remember it can be accessed only in rules

Can we request that it be added to the custom database script as well?

We want to see the user Agent where the user signed up/ logged in from?

Hey there!

You can advocate for that by creating a feature request using our Feedback category: