Log the full User Agent

Hi there,
Is there any way to log the full User Agent when a user try to authenticate?
The logs saves only the Major version, I want to log the minor version too.

From this:
“user_agent”: “Edge 122.0.0 / Mac OS X 10.15.7”,

I need this:
“user_agent”: “Edge 122.0.2365.52 / Mac OS X 10.15.7”,

Any thoughts how I can do it?

Hi @float1n9

Welcome to the Auth0 Community!

Thank you for posting your question. There’s currently no easy implementation to include in the Auth0 Logs. You can utilize the Post-Login Action to store the full user_agent from event.request.user_agent in the user metadata or use a log stream to pass the logs to the external 3rd party Log Streams.

I hope this helps you.

Thanks
Dawid

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.